From c031e5bffd1b6d9fc15e4c91c723140cc91eca5e Mon Sep 17 00:00:00 2001 From: Robert Dyer Date: Mon, 17 Nov 2025 08:38:10 -0600 Subject: [PATCH] feat: Build multi-architecture Docker images (#27) * feat: Build multi-architecture Docker images Updates the GitHub Actions workflow to build Docker images for both amd64 and arm64 architectures. This is achieved by: - Adding a QEMU setup step (`docker/setup-qemu-action@v3`). - Adding a Docker Buildx setup step. - Specifying `linux/amd64,linux/arm64` in the `platforms` input of the `docker/build-push-action@v6` step. --------- Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com> --- .github/workflows/publish.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index e7181fd..e5a4b2d 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -43,6 +43,12 @@ jobs: # set latest tag for default branch type=raw,value=latest,enable={{is_default_branch}} + - name: Set up QEMU + uses: docker/setup-qemu-action@v3 + + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 + - name: Build and push the Docker image id: push uses: docker/build-push-action@v6 @@ -52,3 +58,4 @@ jobs: push: true tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} + platforms: linux/amd64,linux/arm64