From 9e2cf62d807a9ee9b678c858508063a8607464f9 Mon Sep 17 00:00:00 2001 From: Lukas Biermann Date: Tue, 11 Oct 2022 19:22:02 +0200 Subject: [PATCH] Admin: updated release workflow to build a multiplatform image that also works on m1 macs without any problems (#5553) --- .github/workflows/release.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5d9d000a1..99b9c7f98 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -51,6 +51,8 @@ jobs: docker build -t motoserver/moto . --tag moto:${{ env.VERSION }} # 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 @@ -62,6 +64,7 @@ jobs: name: Build and push uses: docker/build-push-action@v2 with: + platforms: linux/amd64,linux/arm64 push: true tags: motoserver/moto:${{ env.VERSION }} - name: Increase patch version number