diff --git a/.github/workflows/dockerPublish.yml b/.github/workflows/dockerPublish.yml index 77d1399aea..802ee56df4 100644 --- a/.github/workflows/dockerPublish.yml +++ b/.github/workflows/dockerPublish.yml @@ -36,9 +36,9 @@ jobs: # https://github.com/sigstore/cosign-installer - name: Install cosign if: github.event_name != 'pull_request' - uses: sigstore/cosign-installer@f3c664df7af409cb4873aa5068053ba9d61a57b6 #v2.6.0 + uses: sigstore/cosign-installer@dd6b2e2b610a11fd73dd187a43d57cc1394e35f9 #v3.0.5 with: - cosign-release: 'v1.13.1' + cosign-release: 'v2.0.2' # Workaround: https://github.com/docker/build-push-action/issues/461 @@ -84,8 +84,6 @@ jobs: # https://github.com/sigstore/cosign - name: Sign the published Docker image if: ${{ github.event_name != 'pull_request' }} - env: - COSIGN_EXPERIMENTAL: "true" # This step uses the identity token to provision an ephemeral certificate # against the sigstore community Fulcio instance. - run: echo "${{ steps.meta.outputs.tags }}" | xargs -I {} cosign sign {}@${{ steps.build-and-push.outputs.digest }} + run: echo "${{ steps.meta.outputs.tags }}" | xargs -I {} cosign sign --yes {}@${{ steps.build-and-push.outputs.digest }}