Enable Apple M1 support for Docker-builds with latest-tag (#5864)
This commit is contained in:
parent
3a023f0fe1
commit
90150d30c6
3
.github/workflows/build.yml
vendored
3
.github/workflows/build.yml
vendored
@ -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: |
|
||||
|
Loading…
Reference in New Issue
Block a user