Commit 66355c1 1 parent ffa824f commit 66355c1 Copy full SHA for 66355c1
File tree 1 file changed +0
-15
lines changed
1 file changed +0
-15
lines changed Original file line number Diff line number Diff line change 74
74
labels : ${{ steps.meta.outputs.labels }}
75
75
cache-from : type=gha
76
76
cache-to : type=gha,mode=max
77
-
78
- # Sign the resulting Docker image digest except on PRs.
79
- # This will only write to the public Rekor transparency log when the Docker
80
- # repository is public to avoid leaking data. If you would like to publish
81
- # transparency data even for private images, pass --force to cosign below.
82
- # https://github.com/sigstore/cosign
83
- - name : Sign the published Docker image
84
- if : ${{ github.event_name != 'pull_request' }}
85
- env :
86
- # https://docs.github.com/en/actions/security-guides/security-hardening-for-github-actions#using-an-intermediate-environment-variable
87
- TAGS : ${{ steps.meta.outputs.tags }}
88
- DIGEST : ${{ steps.build-and-push.outputs.digest }}
89
- # This step uses the identity token to provision an ephemeral certificate
90
- # against the sigstore community Fulcio instance.
91
- run : echo "${TAGS}" | xargs -I {} cosign sign --yes {}@${DIGEST}
You can’t perform that action at this time.
0 commit comments