chore(workflow): support Multi-platform build

support Multi-platform build

Signed-off-by: mritd <mritd@linux.com>
This commit is contained in:
mritd 2021-04-13 20:42:33 +08:00
parent db716f7a75
commit 7e769e6b8a
No known key found for this signature in database
GPG key ID: 98C41327E6D3E645

View file

@ -32,7 +32,9 @@ jobs:
id: docker_build
uses: docker/build-push-action@v2
with:
context: .
push: true
platforms: linux/amd64,linux/arm64
tags: tobyxdd/hysteria:latest,tobyxdd/hysteria:${{ env.GIT_TAG_NAME }}
- name: Image digest