From 9e70b9ef58c0228871b6d4bc84035bba612c38dc Mon Sep 17 00:00:00 2001 From: Kenny Leung Date: Mon, 16 Mar 2026 14:11:32 -0700 Subject: [PATCH] use headless mode Signed-off-by: Kenny Leung --- action.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/action.yaml b/action.yaml index f7cd91f..a828b69 100644 --- a/action.yaml +++ b/action.yaml @@ -135,7 +135,7 @@ runs: EXPORT_AUTH: ${{ inputs.env-auth }} run: | echo "::group::Authenticating with Chainguard as ${{ env.IDENTITY }}" - if chainctl auth login --identity "${{ env.IDENTITY }}" -v=${{ env.VERBOSITY }}; then + if chainctl auth login --headless --identity "${{ env.IDENTITY }}" -v=${{ env.VERBOSITY }}; then echo Logged in as ${{ env.IDENTITY }}! else echo "::error Unable to assume the identity ${{ env.IDENTITY }}." @@ -158,7 +158,7 @@ runs: echo "::endgroup::" echo "::group::Registering docker credential helper" - if ! chainctl auth configure-docker --identity "${{ env.IDENTITY }}" -v=${{ env.VERBOSITY }}; then + if ! chainctl auth configure-docker --headless --identity "${{ env.IDENTITY }}" -v=${{ env.VERBOSITY }}; then echo "::error Unable to register credential helper as ${{ env.IDENTITY }}." exit 1 fi