From 90150d30c667cb950535574409e856429794f1d9 Mon Sep 17 00:00:00 2001 From: Bert Blommers Date: Sun, 22 Jan 2023 15:48:46 -0100 Subject: [PATCH] Enable Apple M1 support for Docker-builds with latest-tag (#5864) --- .github/workflows/build.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8891b5ae6..efe3fe77d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -209,6 +209,8 @@ jobs: docker build -t motoserver/moto . --tag moto:latest # Required to get the correct Digest # See https://github.com/docker/build-push-action/issues/461 + - name: Set up QEMU + uses: docker/setup-qemu-action@v2 - name: Set up Docker Buildx uses: docker/setup-buildx-action@v2 - name: Login to DockerHub @@ -220,6 +222,7 @@ jobs: uses: docker/build-push-action@v3 with: push: true + platforms: linux/amd64,linux/arm64 tags: motoserver/moto:latest - name: Get version number run: |