File tree Expand file tree Collapse file tree 1 file changed +0
-22
lines changed
Expand file tree Collapse file tree 1 file changed +0
-22
lines changed Original file line number Diff line number Diff line change 3737 - name : Checkout repository
3838 uses : actions/checkout@v3
3939
40- # Install the cosign tool except on PR
41- # https://github.com/sigstore/cosign-installer
42- - name : Install cosign
43- if : github.event_name != 'pull_request'
44- uses : sigstore/cosign-installer@1e95c1de343b5b0c23352d6417ee3e48d5bcd422
45- with :
46- cosign-release : ' v1.4.0'
47-
48-
4940 # Workaround: https://github.com/docker/build-push-action/issues/461
5041 - name : Setup Docker buildx
5142 uses : docker/setup-buildx-action@79abd3f86f79a9d68a23c75a09a9a85889262adf
7869 push : ${{ github.event_name != 'pull_request' }}
7970 tags : ${{ steps.meta.outputs.tags }}
8071 labels : ${{ steps.meta.outputs.labels }}
81-
82- # Sign the resulting Docker image digest except on PRs.
83- # This will only write to the public Rekor transparency log when the Docker
84- # repository is public to avoid leaking data. If you would like to publish
85- # transparency data even for private images, pass --force to cosign below.
86- # https://github.com/sigstore/cosign
87- - name : Sign the published Docker image
88- if : ${{ github.event_name != 'pull_request' }}
89- env :
90- COSIGN_EXPERIMENTAL : " true"
91- # This step uses the identity token to provision an ephemeral certificate
92- # against the sigstore community Fulcio instance.
93- run : cosign sign ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}@${{ steps.build-and-push.outputs.digest }} --force
You can’t perform that action at this time.
0 commit comments