Repository navigation
ci: ship the build provenance as a release file - #91
Merged
Merged
Conversation
Scorecard's Signed-Releases check looks for *.intoto.jsonl next to the signatures. The sign job now copies the attestation bundle to kite-VERSION.intoto.jsonl before the Sigstore step, so it is signed like the other files. releasing.md says how to verify it.
Owner
Author
|
Dry run from this branch (workflow_dispatch, run 43576979165) passed. |
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.
Closes #90
The
signjob already runsactions/attest-build-provenance, but the attestation only lives in GitHub's store. Scorecard's Signed-Releases check wants a*.intoto.jsonlfile among the release assets, so the job now copies the action'sbundle-pathoutput (one in-toto statement in a Sigstore bundle, covering every file indist/) tokite-VERSION.intoto.jsonl. It is copied before the cosign step, so it also gets a.sigstore.json.checkjoins the job'sneedsfor the version.It is not in
SHA256SUMS: the attestation is made from those digests, so it cannot be listed there (the.sigstore.jsonfiles are left out for the same reason).docs/releasing.mdsays so and showsgh attestation verify --bundlefor offline checks.Testing: dry run with workflow_dispatch from this branch, results in a comment below.