ci(docker-release): register QEMU binfmt for multi-platform builds - #54
Merged
Conversation
The org is moving to true multi-arch images (linux/amd64 + linux/arm64) so dev rigs pull the native variant on any workstation OS/arch. Stevedore already passes the platforms list to one buildx invocation and its action sets up the docker-container builder; the runner just lacks binfmt handlers for the foreign arch. Must merge before any repo adds linux/arm64 to its .stevedore.yaml. Claude-Session: https://claude.ai/code/session_01RucWaqzHAh5kPo3XBEjEp1
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
docker/setup-qemu-action@v3to the shareddocker-release.yml, right before the stevedore step, so buildx can build non-native platforms..stevedore.yamlgainslinux/arm64in follow-up PRs, and dev rigs then pull the native variant on any workstation (Apple Silicon, Linux, Windows).platforms:list into onebuildx --platformflag and its action sets up the docker-container builder; the runner just ships no binfmt handlers. Harmless for callers still building amd64-only.Test plan
linux/arm64to its.stevedore.yaml.docker buildx imagetools inspect 784682930591.dkr.ecr.us-east-1.amazonaws.com/understudy:<new-tag>.$BUILDPLATFORMcross-compile pattern in that repo's Dockerfile, not a revert here.🤖 Generated with Claude Code
https://claude.ai/code/session_01RucWaqzHAh5kPo3XBEjEp1