Add platforms input for docker build step

Signed-off-by: Ryan Wang <i@ryanc.cc>
pull/4896/head
Ryan Wang 2023-11-23 16:06:26 +08:00
parent 8f3ed637ad
commit 6cecca25d2
1 changed files with 1 additions and 0 deletions

View File

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