ci(docker): add multi-arch builds, provenance, and SBOM#133
Merged
Conversation
Enable linux/arm64 builds alongside linux/amd64 via QEMU emulation so users on Apple Silicon, Raspberry Pi, and ARM cloud instances can run the published image natively. Attach SLSA provenance (mode=max) and SBOM attestations to every published image for supply chain transparency. Add GHA build cache to mitigate the slower arm64 emulation builds. Co-Authored-By: Claude orchestrator (Opus 4.6) <noreply@anthropic.com>
Contributor
|
🎉 This PR is included in version 1.8.0-beta.24 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Contributor
|
🎉 This PR is included in version 1.8.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
2 tasks
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.
Summary
mode=max) and SBOM attestations to every published image for supply chain transparencytype=gha) to speed up repeated builds (arm64 under QEMU is slow without caching)id-token: writepermission to enable signed Sigstore provenanceChanges
Only
.github/workflows/release.yml(Docker job) is modified:id-token: writepermissionplatforms,provenance,sbom,cache-from,cache-totobuild-push-actionCI workflow (
ci.yml) is unchanged — it stays amd64-only for speed.Risk: DHI base image arm64 support
The
dhi.io/node:24-alpine3.23base images must publish arm64 manifests. If they don't, the arm64 build leg will fail. The first CI run will confirm — fallback is switching to officialnode:24-alpineimages.Verification
After the first release:
Test plan
docker run --rm steilerdev/cornerstone:<version>)🤖 Generated with Claude Code