Conversation
There was a problem hiding this comment.
Pull request overview
Updates the Docker image build workflow to run ARM builds on an ARM GitHub Actions runner, aiming to avoid emulation for ARM targets while continuing to publish per-architecture images to GHCR.
Changes:
- Adds an OS dimension to the build matrix (
ubuntu-latestand an ARM runner) and selects the runner viaruns-on: ${{ matrix.os }}. - Excludes incompatible OS/arch combinations so AMD64 builds run on x86_64 and ARM builds run on ARM.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| arch: | ||
| - amd64 | ||
| - armhf | ||
| - aarch64 |
There was a problem hiding this comment.
The matrix arch values are later interpolated into platforms: linux/${{ matrix.arch }}. Docker/Buildx platform arch names are amd64, arm64, and arm (optionally with a variant like arm/v7), so aarch64 (and likely armhf) will produce invalid platform strings (e.g., linux/aarch64) and can cause the build step to fail. Consider separating the image tag suffix from the Buildx platform value (e.g., keep aarch64/armhf for tagging if desired, but add a matrix field for the actual platform such as linux/arm64 and linux/arm/v7).
No description provided.