优化编译脚本

This commit is contained in:
bjdgyc
2024-02-01 16:12:41 +08:00
parent 1aa8c83d58
commit 02bc75b27a
6 changed files with 30 additions and 13 deletions

View File

@@ -65,12 +65,12 @@ jobs:
uses: docker/build-push-action@v5
with:
push: true
cache-from: type=gha,scope=anylink
cache-to: type=gha,mode=max,scope=anylink
#cache-from: type=gha,scope=anylink
#cache-to: type=gha,mode=max,scope=anylink
context: .
file: ./docker/Dockerfile
#platforms: linux/amd64,linux/arm64
platforms: linux/amd64
platforms: linux/amd64,linux/arm64,linux/arm/v7
#platforms: linux/amd64
build-args: |
appVer=${{ env.APP_VER }}
commitId=${{ env.commitId }}