Repository navigation
ci: publish multi-arch images on every push to main - #787
Conversation
docker-publish.yml built amd64 only, so arm64 targets (RevPi, Jetson) only got a fresh image at a release. The multi-arch workflow now also runs on main: :latest and sha-<short> for amd64 and arm64 on native runners. The amd64-only workflow is removed so :latest has one owner.
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.
bburda
left a comment
There was a problem hiding this comment.
Could you add the arch and tag scheme to the Pre-built Images section of docs/tutorials/docker.rst? Today it only says that images are published on every push to main. With this PR the gateway images are amd64 + arm64, with latest and sha-<short> from main, and X.Y.Z and X.Y from release tags. docs/tutorials/web-ui.rst already has a tag table like this for the web UI image.
A failed build job no longer skips the merge for every distro. The merge refuses to tag unless both arch digests are present. The gha cache gave almost no hits and evicted the ccache entries. Docs list the tag scheme.
Done in 7a07870. The section now says the images are amd64 + arm64 and has a tag table in the same format as |
Summary
docker-publish.ymlbuiltlinux/amd64only. arm64 targets (RevPi DiagBox, Jetson, RPi) got a fresh image only on a release tag, and the last release is 0.7.0 (2026-09-01). Anything merged since then never reached arm64 images.This PR:
docker-publish-multiarch.ymlon every push tomaintoo, so:latestandsha-<short>are multi-arch (amd64 + arm64, each on a native runner, no QEMU)X.Y.Z,X.Y,sha-<short>, never:latest)docker-publish.yml, so:latesthas a single ownermode=min(six scopes atmode=maxwould overrun the 10 GB Actions cache quota, the same reason the old workflow usedmode=min)The read-only OPC UA plugin inspection still runs on every arch before the merge job tags anything.
Testing
ghcr.io/selfpatch/ros2_medkit-jazzy:latestlists bothamd64andarm64(docker manifest inspect).Follow-up
The platform onboarding pins
ros2_medkit-<distro>:0.7becauselatestwas amd64 only. After this lands, that pin can move to a newer multi-arch tag.