File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 4444 # https://github.com/sigstore/cosign-installer
4545 - name : Install cosign
4646 if : github.event_name != 'pull_request'
47- uses : sigstore/cosign-installer@v3.3 .0
47+ uses : sigstore/cosign-installer@v3.5 .0
4848 with :
49- cosign-release : ' v2.2.2 '
49+ cosign-release : ' v2.2.4 '
5050
5151
5252 # Workaround: https://github.com/docker/build-push-action/issues/461
9898 - name : Sign the published Docker image
9999 if : ${{ github.event_name != 'pull_request' }}
100100 env :
101- COSIGN_EXPERIMENTAL : " true"
101+ # https://docs.github.com/en/actions/security-guides/security-hardening-for-github-actions#using-an-intermediate-environment-variable
102+ TAGS : ${{ steps.meta.outputs.tags }}
103+ DIGEST : ${{ steps.build-and-push.outputs.digest }}
102104 # This step uses the identity token to provision an ephemeral certificate
103105 # against the sigstore community Fulcio instance.
104- run : echo "${{ steps.meta.outputs.tags }} " | xargs -I {} cosign sign {}@${{ steps.build-and-push.outputs.digest } }
106+ run : echo "${TAGS} " | xargs -I {} cosign sign --yes {}@${DIGEST }
You can’t perform that action at this time.
0 commit comments