This repository was archived by the owner on Nov 24, 2025. It is now read-only.
Add digest and tags outputs for later use in provenance - #88
Merged
Merged
Conversation
Jeroen Knoops (JeroenKnoops)
marked this pull request as draft
January 4, 2022 20:48
Member
Author
|
I'm going to test this branch on some projects... |
Jeroen Knoops (JeroenKnoops)
force-pushed
the
add-digest-outputs
branch
from
January 4, 2022 21:12
884c92f to
d4d811a
Compare
Member
Author
|
The test projects works, but it is a big workflow... let's see how we can make this more user friendly. JeroenKnoops/test-docker-ci-scripts@10bd2d5 |
Jeroen Knoops (JeroenKnoops)
marked this pull request as ready for review
January 5, 2022 08:49
Jeroen Knoops (JeroenKnoops)
requested a review
from Brend Smits (Brend-Smits)
January 5, 2022 08:49
Member
Author
|
In order to make a proper example in the readme, we need an extra output. See #89 I propose to merge this one, since it's not breaking anything and work on the next issue, so we can create a nice readable and understandable example how to create a provenance file and how to attach that to the image. |
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Changes
Add two outputs when docker image is pushed:
container-digestcontainer-tagsUsages example
These two outputs can be used to generate a provenance file and attach it to the image.
See example: https://github.com/philips-labs/slsa-provenance-action/blob/main/.github/workflows/ci.yaml#L128
Related issue
Closes #87
Part of #78