From 7e182ed6eb4d0e7b7570c82504d5d602c572bd68 Mon Sep 17 00:00:00 2001 From: hamster1963 <1410514192@qq.com> Date: Wed, 23 Oct 2024 14:53:41 +0800 Subject: [PATCH] fix: docker build cache --- .github/workflows/Deploy.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/Deploy.yml b/.github/workflows/Deploy.yml index 36cbcae..67b0929 100644 --- a/.github/workflows/Deploy.yml +++ b/.github/workflows/Deploy.yml @@ -18,6 +18,10 @@ jobs: - name: Checkout code uses: actions/checkout@v4 + # 移除 QEMU 设置步骤,因为我们不再需要模拟 + # - name: Set up QEMU + # uses: docker/setup-qemu-action@v3 + - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 with: @@ -57,8 +61,6 @@ jobs: labels: ${{ steps.meta.outputs.labels }} cache-from: type=registry,ref=${{ env.REGISTRY_IMAGE }}:cache cache-to: type=inline - build-args: | - BUILDKIT_INLINE_CACHE=1 changelog: name: Generate Changelog