Admin: updated release workflow to build a multiplatform image that also works on m1 macs without any problems (#5553)

This commit is contained in:
Lukas Biermann 2022-10-11 19:22:02 +02:00 committed by GitHub
parent 97011ba19b
commit 9e2cf62d80
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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