This repository was archived by the owner on Nov 24, 2025. It is now read-only.
Add SLSA Provenance feature - #94
Merged
Merged
Conversation
Part of #78 Signed-off-by: Jeroen Knoops <jeroen.knoops@philips.com>
Jeroen Knoops (JeroenKnoops)
requested a review
from Brend Smits (Brend-Smits)
January 25, 2022 08:06
Signed-off-by: Jeroen Knoops <jeroen.knoops@philips.com>
This was referenced Jan 25, 2022
Brend Smits (Brend-Smits)
approved these changes
Jan 26, 2022
Brend Smits (Brend-Smits)
left a comment
Member
There was a problem hiding this comment.
Looks great and works great.
Can you please include "slsa-provenance" in the readme in the inputs section?
Member
Author
Will be done automatically after merged to |
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.
This PR will add an extra option to generate a provenance file.
Usage
Add input
slsa-provenance: trueto generate a provenance file.Exampe workflow
The filename of the provenance file is given as an output. You can use that to upload the provenance file as artifact.
Cosign
We're going to use Cosign to attach the provenance file to the docker image later. There are already parts of this change in this PR. I want to release this feature together with the cosign change, but I like PRs for one specific thing only.
The Cosign installation part is not used, so I want to keep that in this PR.
Learn more
Learn more about provenance and Secure Software Supply Chain on:
Related issue
Part of #78