Repository navigation
Publish linux/arm64 feature images - #961
Merged
Merged
Conversation
stephanos
marked this pull request as ready for review
November 26, 2026 17:48
stephanos
marked this pull request as draft
November 26, 2026 17:58
stephanos
marked this pull request as ready for review
November 26, 2026 21:47
Publish every feature image for linux/amd64 and linux/arm64 so the suites run natively on arm64 hosts. - Dockerfiles download the Go toolchain for BuildKit's TARGETARCH instead of a fixed amd64. - build-image --push-to builds all --platform values with docker buildx and pushes one multi-platform image per tag. - After the tests pass, CI publishes both platforms with buildx and QEMU. push-images is removed; CI was its only caller. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Build and test amd64 and arm64 on native runners instead of emulating arm64 with QEMU. Each runner pushes its platform by digest, and a publish job joins the digests under every tag with docker buildx imagetools, following omes' rust-docker-images.yml. build-image --push-to now pushes one platform by digest and writes the digest to --digest-file. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Restore push-images and give it the publish step: it reads the per-platform digest files and the tag list, checks that every expected platform is present, and creates each tag from the digests with docker buildx imagetools. The workflow's publish job now calls it instead of inline shell. build-image still pushes each platform by digest. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Build each platform once into a Docker-loadable OCI archive, test the loaded image by ID, check that ID against the archive's digest, and push the archive by digest with skopeo, so the published image is the one that passed the tests. - Add a platforms input. PHP builds amd64 only: its spiralscout/php-grpc runtime base has no arm64 image. - Default TARGETARCH to amd64 for the legacy builder; BuildKit still sets the real value. - push-images rejects duplicate digests across platforms. - Keep digest artifacts for seven days so the publish job can be re-run. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Follow the per-platform shape of omes' rust-docker-images workflow: each native runner pushes its image untagged by digest, the tests run against that pushed digest, and the publish job tags the digests only after every platform passed. This replaces the OCI archive, skopeo and the image ID comparison, so the tested image is the published one without extra tools. PR runs still build and test locally. Drop the TARGETARCH fallback; the legacy Docker builder is not supported. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-authored-by: Codex <noreply@openai.com>
Co-authored-by: Codex <noreply@openai.com>
Co-authored-by: Codex <noreply@openai.com>
Co-authored-by: Codex <noreply@openai.com>
Co-authored-by: Codex <noreply@openai.com>
Co-authored-by: Codex <noreply@openai.com>
Co-authored-by: Codex <noreply@openai.com>
stephanos
force-pushed
the
stephanos/features-arm64
branch
from
November 27, 2026 15:44
5775d64 to
8df0785
Compare
prathyushpv
approved these changes
Nov 27, 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.
What
Publish feature images for amd64 and arm64. Native runners test each image by digest before CI publishes the final tags.
Why native runners
Allow running feature images on ARM.
Notes
PHP stays amd64-only because its runtime base lacks arm64 support.