diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index 2cf1c45..287b4a3 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -46,15 +46,13 @@ jobs: run: | XMRIGCC_VERSION=${PACKAGE_VERSION%-*} - # 设置 BuildKit 优化参数,限制并发和内存使用 + # 设置 BuildKit 优化参数 export BUILDKIT_PROGRESS=plain docker buildx build --pull \ --platform linux/amd64,linux/arm64 \ --build-arg XMRIGCC_VERSION=${XMRIGCC_VERSION} \ --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 }} . - name: Package and test