linux arm 支持 输出多平台镜像

This commit is contained in:
Chaos 2022-05-19 00:35:45 +08:00 committed by GitHub
parent c65bde7874
commit 3c0ad79f2f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -75,6 +75,7 @@ jobs:
uses: docker/build-push-action@ac9327eae2b366085ac7f6a2d02df8aa8ead720a
with:
context: .
platforms: linux/amd64,linux/arm64,linux/arm
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ secrets.DOCKER_HUB_USERNAME }}/portainer-cn:latest
labels: ${{ steps.meta.outputs.labels }}