ci: OCI multi-arch build with manifest + index annotations (#108)#112
Merged
Conversation
Rebuild the app images with docker buildx: multi-arch (amd64+arm64), OCI media types, and OCI manifest annotations (standard org.opencontainers.image.* + custom com.toddysm.*) at both index and per-platform manifest scope. created is derived from the commit time (SOURCE_DATE_EPOCH) for reproducibility; base image pinned by digest. Adds docs/reference/image-annotations.md. Closes #108.
There was a problem hiding this comment.
Pull request overview
Updates the CSSC Dashboard image build workflow to use docker buildx for OCI multi-arch publishing with manifest/index annotations, and documents the annotation contract in the reference docs.
Changes:
- Switch
build / cssc-dashboardtodocker buildx buildwith QEMU+Buildx forlinux/amd64,linux/arm64and OCI media types. - Add OCI annotation generation (standard
org.opencontainers.image.*+ customcom.toddysm.*) applied at both index and per-platform manifest scope. - Add reference documentation for the annotation set and link it from the reference index.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
.github/workflows/build-cssc-dashboard.yml |
Replaces single-arch docker build with multi-arch buildx and adds manifest/index annotations + reproducible timestamps. |
docs/reference/image-annotations.md |
Documents the standard/custom annotation keys and their intended semantics. |
docs/reference/README.md |
Adds the new image-annotations reference doc to the index. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Address PR review: build FROM the base digest (base_ref=name@digest) so the image is actually pinned to what base.digest annotates; soften the doc's reproducibility claim to note SOURCE_DATE_EPOCH only makes timestamps deterministic.
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 #108 (tracked by #111).
Rebuilds the CSSC Dashboard application images with docker buildx:
org.opencontainers.image.*+ customcom.toddysm.*— applied at both the index and per-platform manifest scope.createdderived from the commit time (SOURCE_DATE_EPOCH).base.namename-only +com.toddysm.image.base.tag+base.digest).--sbom=false --provenance=false) — those are Build: generate and attach SBOMs to the application images #109 / Build: generate and attach build provenance to the application images #110.Docs: adds
docs/reference/image-annotations.md(linked from the reference index), including the note about the deliberatebase.namename-only deviation.Pinned actions:
setup-qemu-action/setup-buildx-action(v3, by SHA). actionlint clean.