From 6bd85f65abedc9b594e6ae2ab2ed75b51d6392dd Mon Sep 17 00:00:00 2001 From: Michael Herold Date: Tue, 25 Aug 2026 14:44:54 -0500 Subject: [PATCH] Build for arm64 as well as amd64 When you want to use Understory on a Mac, you'd prefer to have the container run in the default architecture rather than the translation layer. This change makes sure that the build system builds the container for both ARM and x86 architectures. --- .github/workflows/docker.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index bb4163f..43d8bb1 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -34,6 +34,9 @@ jobs: packages: write steps: - uses: actions/checkout@v4 + - uses: docker/setup-qemu-action@v3 + with: + platforms: arm64 - uses: docker/setup-buildx-action@v3 - uses: docker/login-action@v3 with: @@ -51,6 +54,7 @@ jobs: - uses: docker/build-push-action@v6 with: context: . + platforms: linux/amd64,linux/arm64 push: true tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }}