From 27ab80adb93d39c357b46ea10308ae0d16b1d1c9 Mon Sep 17 00:00:00 2001 From: LanQin Date: Tue, 16 Jun 2026 23:39:55 +0800 Subject: [PATCH] =?UTF-8?q?ci(docker):=20=E7=AE=80=E5=8C=96=20Docker=20?= =?UTF-8?q?=E6=9E=84=E5=BB=BA=E5=B7=A5=E4=BD=9C=E6=B5=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 改用 `docker` 作为 Buildx driver,移除自定义 BuildKit 镜像配置。 - 删除构建缓存的 `cache-from` 和 `cache-to` 配置,精简镜像构建步骤。 --- .github/workflows/docker.yml | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 26ef5a4..36b343b 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -106,8 +106,7 @@ jobs: - name: Setup Docker Buildx uses: docker/setup-buildx-action@v3 with: - driver-opts: | - image=ghcr.io/moby/buildkit:buildx-stable-1 + driver: docker - name: Login to GHCR uses: docker/login-action@v3 @@ -145,9 +144,3 @@ jobs: push: true tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} - cache-from: | - type=gha,scope=lanqin-${{ matrix.name }} - type=registry,ref=${{ steps.image.outputs.name }}:buildcache - cache-to: | - type=gha,mode=max,scope=lanqin-${{ matrix.name }},ignore-error=true - type=registry,ref=${{ steps.image.outputs.name }}:buildcache,mode=max