Repository navigation
ci(nix): multi-arch Nix image discovery index (amd64 + arm64) (#636) - #659
Merged
c-vigo merged 2 commits intoJun 23, 2026
Merged
Conversation
Build packages.devcontainerImage natively on an amd64 + arm64 runner matrix (no QEMU/cross-compile), push per-arch nix-dev discovery tags, and assemble a top-level multi-arch index with imagetools create, verifying both platforms via imagetools inspect. cachix-action pushes the arm64 closure to the vig-os cache. Stays continue-on-error and only touches disposable nix-dev* tags; the versioned/:latest cutover is #639. Refs: #636
The portable testinfra step fails by design during discovery (FHS gaps), which skipped the subsequent GHCR push steps, so the per-arch tags never existed and imagetools create had nothing to assemble. Mark the testinfra step continue-on-error so the push (and thus the multi-arch index) runs. Refs: #636
Contributor
Author
|
✅ Verified. After fixing the per-arch push being skipped on the discovery-phase testinfra failure ( ``` Top-level manifest list (not a single-arch manifest) covering both platforms — AC met. The standard |
This was referenced Jul 1, 2026
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
Implements T2.3 (#636): the
Nix Image (discovery)workflow now produces a multi-arch index (amd64 + arm64) of the Nix-built devcontainer image, so downstream digest-pinning can resolve against a top-level OCI index.packages.devcontainerImageon a native matrix —ubuntu-24.04(amd64) +ubuntu-24.04-arm(arm64), no QEMU / cross-compilation, so each per-arch image config carries the correctarchitecture.nix-dev-amd64/nix-dev-arm64, then assemble the indexnix-devwithdocker buildx imagetools create(mirrors the provenrelease.ymlflow).linux/amd64andlinux/arm64viaimagetools inspect.cachix-actionruns with an auth token on every leg, so the arm64 closure lands in thevig-oscache.Scope guardrails
continue-on-error(discovery phase) and only ever touches the disposablenix-dev*tags. The versioned /:latestpublish-cutover is T4.1 — Publish-cutover to the Nix image (GATED) #639 — explicitly out of scope here.Dependencies
buildLayeredImage), non-publishing #634 (✅ merged). Blocks: T4.1 — Publish-cutover to the Nix image (GATED) #639.Acceptance criteria
packages.devcontainerImageimagetools createimagetools inspectshows amd64 + arm64)Verification
The multi-arch run executes on push to the epic branch (workflow
pathsinclude the flake + this workflow) and viaworkflow_dispatch. Theimagetools inspectstep is the AC check (top-level index, not a single-arch manifest).Refs: #636