We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d3a860 commit d4a9e08Copy full SHA for d4a9e08
.github/workflows/docker-publish.yml
@@ -90,7 +90,9 @@ jobs:
90
- name: Sign the published Docker image
91
if: ${{ github.event_name != 'pull_request' }}
92
env:
93
- COSIGN_EXPERIMENTAL: "true"
+ # https://docs.github.com/en/actions/security-guides/security-hardening-for-github-actions#using-an-intermediate-environment-variable
94
+ TAGS: ${{ steps.meta.outputs.tags }}
95
+ DIGEST: ${{ steps.build-and-push.outputs.digest }}
96
# This step uses the identity token to provision an ephemeral certificate
97
# against the sigstore community Fulcio instance.
- run: echo "${{ steps.meta.outputs.tags }}" | xargs -I {} cosign sign {}@${{ steps.build-and-push.outputs.digest }}
98
+ run: echo "${TAGS}" | xargs -I {} cosign sign --yes {}@${DIGEST}
0 commit comments