From fe442068818cca46ab374cdc88c319b7a9d4bb66 Mon Sep 17 00:00:00 2001 From: hoellen Date: Fri, 29 Mar 2024 15:34:14 +0100 Subject: [PATCH] chore: update cosign --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e8fc491..94a04a6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -34,7 +34,7 @@ jobs: if: github.event_name != 'pull_request' uses: sigstore/cosign-installer@main with: - cosign-release: 'v1.13.1' + cosign-release: 'v2.2.2' - name: Set up Docker Buildx uses: docker/setup-buildx-action@v1 @@ -69,4 +69,4 @@ jobs: if: ${{ github.event_name != 'pull_request' }} env: COSIGN_EXPERIMENTAL: "true" - run: cosign sign ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}@${{ steps.build-and-push.outputs.digest }} + run: cosign sign --yes ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}@${{ steps.build-and-push.outputs.digest }}