From 6300cb8ef2792fa390232c89ee0a110565518fad Mon Sep 17 00:00:00 2001 From: Marie Katrine Ekeberg Date: Tue, 3 Sep 2024 11:05:13 +0200 Subject: [PATCH] Add cosign yes answer to prompts Signed-off-by: Marie Katrine Ekeberg --- .github/workflows/build.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 3176173..d0ecf72 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -52,4 +52,4 @@ jobs: env: COSIGN_EXPERIMENTAL: 1 #run: cosign sign --oidc-issuer ${env.ACTIONS_ID_TOKEN_REQUEST_URL} ${{ env.IMAGE }} - run: cosign sign --oidc-issuer https://token.actions.githubusercontent.com ${{ env.IMAGE }}@${{ steps.build-push.outputs.digest }} + run: cosign sign -y --oidc-issuer https://token.actions.githubusercontent.com ${{ env.IMAGE }}@${{ steps.build-push.outputs.digest }}