From 021c13e92b4046cacd9a3c58a97165bea2067aae Mon Sep 17 00:00:00 2001 From: Alina Sudakov Date: Thu, 4 Apr 2024 12:23:13 +0300 Subject: [PATCH] Bump cosign Bump the cosign version to the latest release and add the --yes flag to skip prompts. Signed-off-by: Alina Sudakov --- .github/workflows/publish.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 0bbb99c4..ec4bb409 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -58,7 +58,7 @@ jobs: - name: Install Cosign uses: sigstore/cosign-installer@main with: - cosign-release: "v1.13.1" + cosign-release: "v2.2.3" - name: Code checkout uses: actions/checkout@v4 @@ -104,7 +104,7 @@ jobs: GIT_COMMIT: ${{ github.sha }} - name: Cosign sign tags - run: cosign sign ${TAGS} + run: cosign sign --yes ${TAGS} env: TAGS: ${{ steps.meta.outputs.tags }}@${{ steps.build-and-push.outputs.digest }} COSIGN_EXPERIMENTAL: 1