Admin: updated release workflow to build a multiplatform image that also works on m1 macs without any problems (#5553)
This commit is contained in:
parent
97011ba19b
commit
9e2cf62d80
3
.github/workflows/release.yml
vendored
3
.github/workflows/release.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user