Skip to content

ci(docker-release): register QEMU binfmt for multi-platform builds - #54

Merged
blairham merged 1 commit into
mainfrom
feat/docker-release-qemu
Aug 14, 2026
Merged

ci(docker-release): register QEMU binfmt for multi-platform builds#54
blairham merged 1 commit into
mainfrom
feat/docker-release-qemu

Conversation

@blairham

Copy link
Copy Markdown
Contributor

Summary

  • Add docker/setup-qemu-action@v3 to the shared docker-release.yml, right before the stevedore step, so buildx can build non-native platforms.
  • Enables the org-wide move to true multi-arch images (linux/amd64 + linux/arm64): every repo's .stevedore.yaml gains linux/arm64 in follow-up PRs, and dev rigs then pull the native variant on any workstation (Apple Silicon, Linux, Windows).
  • Stevedore already joins the platforms: list into one buildx --platform flag 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

  • Merge this before any repo adds linux/arm64 to its .stevedore.yaml.
  • First multi-arch caller (understudy is the guinea pig): confirm the pushed manifest lists both platforms via docker buildx imagetools inspect 784682930591.dkr.ecr.us-east-1.amazonaws.com/understudy:<new-tag>.
  • Watch the arm64 leg's build time on a .NET caller (trading) — if QEMU emulation is too slow there, the follow-up is the $BUILDPLATFORM cross-compile pattern in that repo's Dockerfile, not a revert here.

🤖 Generated with Claude Code

https://claude.ai/code/session_01RucWaqzHAh5kPo3XBEjEp1

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
@blairham
blairham merged commit e4ad21a into main Aug 14, 2026
2 checks passed
@blairham
blairham deleted the feat/docker-release-qemu branch August 14, 2026 19:46
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.

1 participant