From 0e643a04cd43b713748c1f8e7396dbb71f7405df Mon Sep 17 00:00:00 2001 From: BadgerOps Date: Tue, 24 Feb 2026 19:20:47 -0600 Subject: [PATCH] feat: build multi-arch container images (linux/amd64 + linux/arm64) The release workflow previously only built a single-platform container image for the runner's native architecture (linux/amd64). This adds QEMU emulation and specifies explicit platform targets so the published GHCR image includes both linux/amd64 and linux/arm64 manifests, mirroring the binary release matrix. Mac ARM users running Docker will automatically pull the linux/arm64 variant. Co-Authored-By: Claude Opus 4.6 --- .github/workflows/release.yml | 4 ++++ CHANGELOG.md | 7 +++++++ 2 files changed, 11 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5a2395d..9dd9c8c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -158,6 +158,9 @@ jobs: run: | gh release upload "v${VERSION}" dist/*.tar.gz dist/checksums.txt --clobber + - name: Set up QEMU + uses: docker/setup-qemu-action@v3 + - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 @@ -175,6 +178,7 @@ jobs: with: context: . file: Containerfile + platforms: linux/amd64,linux/arm64 push: true build-args: | VERSION=${{ env.VERSION }} diff --git a/CHANGELOG.md b/CHANGELOG.md index 25a8346..348c5fd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,13 @@ All notable changes to this project are documented in this file. +## 0.3.4 - 2026-02-24 + +### Added + +- Multi-architecture container image builds: release now produces `linux/amd64` and `linux/arm64` images behind a single manifest tag, mirroring the binary release platform matrix. +- QEMU emulation setup in release workflow to enable cross-platform container builds on GitHub Actions runners. + ## 0.3.3 - 2026-02-24 ### Fixed