Open
Conversation
|
@scrocquesel I'm curious about this PR but lacking context. Can you elaborate on what this fixes? |
agriffis
added a commit
to agriffis/finicky
that referenced
this pull request
Mar 15, 2026
Author
|
Images should be signed off their digest not their tag, otherwise, the build shows The digest is what it is passed from the output of the push step but the step still use the output from metadata. TBH, I was a bit lazy and the env var TAGS should be renamed to clearly show the intent. |
|
@scrocquesel This patch fails when I try to use it on my build. Any idea what I'm missing?
|
Author
|
The image name is with colon, are you sure you keep only the line with @ |
LorbusChris
suggested changes
Mar 15, 2026
| # done | ||
| # cosign sign -y --key env://COSIGN_PRIVATE_KEY $IMAGE_FULL@${TAGS} | ||
| # env: | ||
| # TAGS: ${{ steps.push.outputs.digest }} |
Contributor
There was a problem hiding this comment.
Suggested change
| # TAGS: ${{ steps.push.outputs.digest }} | |
| # DIGEST: ${{ steps.push.outputs.digest }} |
| # for tag in ${{ steps.metadata.outputs.tags }}; do | ||
| # cosign sign -y --key env://COSIGN_PRIVATE_KEY $IMAGE_FULL:$tag | ||
| # done | ||
| # cosign sign -y --key env://COSIGN_PRIVATE_KEY $IMAGE_FULL@${TAGS} |
Contributor
There was a problem hiding this comment.
Suggested change
| # cosign sign -y --key env://COSIGN_PRIVATE_KEY $IMAGE_FULL@${TAGS} | |
| # cosign sign -y --key env://COSIGN_PRIVATE_KEY $IMAGE_FULL@${DIGEST} |
🤦♂️ Thank you! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

No description provided.