ci: publish web UI image as multi-arch (amd64 + arm64)#81
Merged
Conversation
Build each arch on its own native runner (ubuntu-24.04 and ubuntu-24.04-arm) and merge the digests into one manifest list, instead of amd64-only. Fixes 'no matching manifest for linux/arm64' when pulling the image on Apple Silicon.
There was a problem hiding this comment.
Pull request overview
This PR updates the Docker publish workflow so the web UI image is built and published as a multi-architecture image for both linux/amd64 and linux/arm64, avoiding QEMU-based cross-build flakiness by using native GitHub-hosted runners.
Changes:
- Replaces the single amd64 publish job with a native per-architecture build matrix.
- Pushes each architecture by digest, then merges digests into a tagged multi-arch manifest list.
- Keeps existing tag strategy and skips publishing/manifest merge on pull requests.
bburda
approved these changes
May 30, 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.
Problem
ghcr.io/selfpatch/ros2_medkit_web_ui:latestis published forlinux/amd64only. Pulling it on an arm64 host (Apple Silicon) fails with:This breaks every Docker Compose demo that runs the web UI on an arm64 machine.
Why it was amd64-only
arm64 was previously produced by cross-building under QEMU emulation, where
npm ciand the Vite build segfault intermittently (uncaught target signal 11). The workflow was pinned toplatforms: linux/amd64to avoid that flakiness.Fix
Build each architecture on its own native GitHub-hosted runner, no emulation:
linux/amd64onubuntu-24.04linux/arm64onubuntu-24.04-arm(GA and free for public repos)Each arch is pushed by digest, then a
mergejob assembles a single multi-arch manifest list withdocker buildx imagetools create. The tag scheme (latest, semver,sha-*) and triggers are unchanged. Pull requests build both arches to validate, without pushing.Notes
build-and-pushtobuild+merge; update any required status checks pinned to the old name.