修改5
Some checks failed
Build and Release / build-and-test (alpine) (push) Failing after 4m23s
Build and Release / build-and-test (ubuntu) (push) Failing after 5m59s
Build and Release / docker-images (push) Has been skipped
Build and Release / release (push) Has been skipped

This commit is contained in:
2025-12-02 13:18:30 +08:00
parent dc7b490b4c
commit 680ce4268a

View File

@@ -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