Skip to content

feat(build-and-sign-image): add platforms input for multi-arch builds - #33

Open
roaksoax wants to merge 1 commit into
mainfrom
andres/cor-96-build-and-sign-image-platforms
Open

roaksoax wants to merge 1 commit into
mainfrom
andres/cor-96-build-and-sign-image-platforms

Conversation

@roaksoax

@roaksoax roaksoax commented Sep 25, 2026 •

Copy link
Copy Markdown

Part of COR-96

Summary

  • Adds a platforms input (comma-separated, default linux/amd64) that replaces the hardcoded platforms: linux/amd64 on the build step. An empty value also falls back to linux/amd64, so existing callers are unchanged.
  • Sets up QEMU when building for anything other than linux/amd64.
  • The SBOM step scans the pushed image once per platform (syft --platform), and sbom/merge.py now takes a comma-separated LOCAL_SBOM list and dedupes components across the scans.

Needed for COR-96 (arm64 build of protect-xenstored). protect already passes platforms, which currently triggers Unexpected input(s) 'platforms' and is ignored.

Test plan

  • action.yml parses
  • merge.py merges and dedupes two per-platform scans
  • Release-artifacts run in protect, pinned to this branch, publishes a multi-arch protect-xenstored index with an SBOM attestation

🤖 Generated with Claude Code

Adds a platforms input (default linux/amd64, also used when empty), sets up
QEMU when building for anything else, and scans every platform of the pushed
index into the merged SBOM.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants