ci: attach SLSA build provenance to the application images (#110)#114
Merged
Conversation
Enable buildx provenance (--provenance=mode=max) so each app image carries a SLSA build-provenance attestation per platform as an OCI referrer (builder, source, revision, materials incl. base digest). Documents retrieval in image-attestations.md. Closes #110.
Contributor
There was a problem hiding this comment.
Pull request overview
This pull request enables SLSA-style build provenance attestations for the CSSC Dashboard application images built in GitHub Actions, attaching per-platform provenance as OCI referrers alongside the existing multi-arch OCI images, annotations, and SBOMs. It also documents how to inspect the provenance data.
Changes:
- Enable BuildKit provenance generation in the
build / cssc-dashboardworkflow viadocker buildx build --provenance=mode=max. - Extend the image attestations reference docs with a new Provenance section and retrieval example.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
docs/reference/image-attestations.md |
Documents provenance attestations and how to retrieve/inspect them with buildx imagetools inspect. |
.github/workflows/build-cssc-dashboard.yml |
Switches buildx from --provenance=false to --provenance=mode=max and updates workflow messaging accordingly. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
Implements #110 (tracked by #111) — the final item.
Enables build provenance in the
build / cssc-dashboardworkflow (docker buildx build --provenance=mode=max): each application image gets a SLSA build-provenance attestation per platform, attached as an OCI referrer, recording the builder, source repo + revision, materials (incl. base image digest), and build parameters.docs/reference/image-attestations.md.actionlint clean.