Enable Apple M1 support for Docker-builds with latest-tag (#5864)

This commit is contained in:
Bert Blommers 2023-01-22 15:48:46 -01:00 committed by GitHub
parent 3a023f0fe1
commit 90150d30c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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