mirror of https://github.com/halo-dev/halo
Add platforms input for docker build step
Signed-off-by: Ryan Wang <i@ryanc.cc>pull/4896/head
parent
8f3ed637ad
commit
6cecca25d2
|
@ -74,3 +74,4 @@ jobs:
|
||||||
dockerhub-token: ${{ secrets.DOCKER_TOKEN }}
|
dockerhub-token: ${{ secrets.DOCKER_TOKEN }}
|
||||||
push: ${{ github.event_name == 'push' || github.event_name == 'release' }} # we only push to GHCR if the push is to the next branch
|
push: ${{ github.event_name == 'push' || github.event_name == 'release' }} # we only push to GHCR if the push is to the next branch
|
||||||
console-ref: ${{ github.event_name == 'release' && github.ref || 'main' }}
|
console-ref: ${{ github.event_name == 'release' && github.ref || 'main' }}
|
||||||
|
platforms: linux/amd64,linux/arm64/v8,linux/ppc64le,linux/s390x
|
||||||
|
|
Loading…
Reference in New Issue