Add multi-platform support to Docker build
This commit is contained in:
committed by
GitHub
parent
41980933e6
commit
1a027fb12c
7
.github/workflows/publish.yml
vendored
7
.github/workflows/publish.yml
vendored
@@ -13,6 +13,10 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v1
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v1
|
||||
- name: Login to DockerHub
|
||||
uses: docker/login-action@v1
|
||||
with:
|
||||
@@ -22,4 +26,5 @@ jobs:
|
||||
uses: docker/build-push-action@v2
|
||||
with:
|
||||
push: true
|
||||
tags: dchesterton/amcrest2mqtt:latest
|
||||
platforms: linux/386,linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64/v8,linux/ppc64le,linux/s390x
|
||||
tags: dchesterton/amcrest2mqtt:latest
|
||||
|
||||
Reference in New Issue
Block a user