mirror of
https://github.com/jaywcjlove/wxmp.git
synced 2026-01-11 07:48:48 +08:00
feat: add Apple Silicon (arm64) support for Docker image. #57
This commit is contained in:
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@@ -94,7 +94,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
docker buildx build \
|
docker buildx build \
|
||||||
--platform linux/amd64,linux/arm64 \
|
--platform linux/amd64,linux/arm64 \
|
||||||
-t ${{ secrets.DOCKER_USER }}/wxmp:latest \
|
-t wxmp:latest \
|
||||||
--push .
|
--push .
|
||||||
|
|
||||||
- name: Build and push multi-platform image (with tag)
|
- name: Build and push multi-platform image (with tag)
|
||||||
@@ -103,7 +103,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
docker buildx build \
|
docker buildx build \
|
||||||
--platform linux/amd64,linux/arm64 \
|
--platform linux/amd64,linux/arm64 \
|
||||||
-t ${{ secrets.DOCKER_USER }}/wxmp:${{ needs.build.outputs.version }} \
|
-t wxmp:${{ needs.build.outputs.version }} \
|
||||||
--push .
|
--push .
|
||||||
|
|
||||||
- name: Tags & Push image (latest)
|
- name: Tags & Push image (latest)
|
||||||
|
|||||||
Reference in New Issue
Block a user