Skip to content

Publish the container image for linux/arm64 as well - #186

Merged
sebastianrakel merged 1 commit into
voxpupuli:mainfrom
SimonHoenscheid:multiarch-container-image
Sep 21, 2026
Merged

sebastianrakel merged 1 commit into
voxpupuli:mainfrom
SimonHoenscheid:multiarch-container-image

Conversation

@SimonHoenscheid

Copy link
Copy Markdown
Member

GoReleaser already builds the linux arm64 binary and packages, but the container image was only published for linux/amd64 because the dockers_v2 platform list and Containerfile.release were pinned to it.

Add linux/arm64 to the platform list and let Containerfile.release pick the binary via $TARGETPLATFORM, following the dockers_v2 layout. The image is FROM scratch and only copies the binary, so no QEMU emulation is needed in the release workflow.

GoReleaser already builds the linux arm64 binary and packages, but the
container image was only published for linux/amd64 because the
dockers_v2 platform list and Containerfile.release were pinned to it.

Add linux/arm64 to the platform list and let Containerfile.release pick
the binary via $TARGETPLATFORM, following the dockers_v2 layout. The
image is FROM scratch and only copies the binary, so no QEMU emulation
is needed in the release workflow.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Signed-off-by: Simon Hoenscheid <simon.hoenscheid@xyntion.consulting>
@SimonHoenscheid

Copy link
Copy Markdown
Member Author

I stumbled upon this when I wanted to test the OpenVox Helm chart on a local Kubernetes cluster on my Mac (ARM) and the container wouldn't run

@sebastianrakel
sebastianrakel merged commit 68299f6 into voxpupuli:main Sep 21, 2026
1 check passed
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.

2 participants