修改5
Some checks failed
Some checks failed
This commit is contained in:
@@ -46,15 +46,13 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
XMRIGCC_VERSION=${PACKAGE_VERSION%-*}
|
XMRIGCC_VERSION=${PACKAGE_VERSION%-*}
|
||||||
|
|
||||||
# 设置 BuildKit 优化参数,限制并发和内存使用
|
# 设置 BuildKit 优化参数
|
||||||
export BUILDKIT_PROGRESS=plain
|
export BUILDKIT_PROGRESS=plain
|
||||||
|
|
||||||
docker buildx build --pull \
|
docker buildx build --pull \
|
||||||
--platform linux/amd64,linux/arm64 \
|
--platform linux/amd64,linux/arm64 \
|
||||||
--build-arg XMRIGCC_VERSION=${XMRIGCC_VERSION} \
|
--build-arg XMRIGCC_VERSION=${XMRIGCC_VERSION} \
|
||||||
--output type=local,dest=./output \
|
--output type=local,dest=./output \
|
||||||
--cache-from type=registry,ref=${{ gitea.server_url }}/${{ gitea.repository }}/buildcache:${{ matrix.distro }} \
|
|
||||||
--cache-to type=registry,ref=${{ gitea.server_url }}/${{ gitea.repository }}/buildcache:${{ matrix.distro }},mode=max \
|
|
||||||
-f docker/Dockerfile.${{ matrix.distro }} .
|
-f docker/Dockerfile.${{ matrix.distro }} .
|
||||||
|
|
||||||
- name: Package and test
|
- name: Package and test
|
||||||
|
|||||||
Reference in New Issue
Block a user