mirror of
https://github.com/JoeanAmier/XHS-Downloader.git
synced 2026-03-22 06:57:16 +08:00
build: 优化 Docker 构建过程并添加新平台支持
This commit is contained in:
2
.github/workflows/Manually_docker_image.yml
vendored
2
.github/workflows/Manually_docker_image.yml
vendored
@@ -86,7 +86,7 @@ jobs:
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
context: .
|
||||
platforms: linux/amd64,linux/arm64
|
||||
platforms: linux/amd64,linux/arm64,linux/arm/v7
|
||||
push: true
|
||||
tags: ${{ env.TAGS }}
|
||||
provenance: false
|
||||
|
||||
2
.github/workflows/Release_docker_image.yml
vendored
2
.github/workflows/Release_docker_image.yml
vendored
@@ -48,7 +48,7 @@ jobs:
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
context: .
|
||||
platforms: linux/amd64,linux/arm64
|
||||
platforms: linux/amd64,linux/arm64,linux/arm/v7
|
||||
push: true
|
||||
tags: |
|
||||
${{ env.DOCKER_REPO }}:${{ github.event.release.tag_name }}
|
||||
|
||||
Reference in New Issue
Block a user