From 9a8c38f51d91740812c785ea8503ec646b99ac74 Mon Sep 17 00:00:00 2001 From: LanQin Date: Tue, 16 Jun 2026 22:33:42 +0800 Subject: [PATCH] =?UTF-8?q?ci(.github/workflows):=20=E5=BF=BD=E7=95=A5=20D?= =?UTF-8?q?ocker=20=E7=BC=93=E5=AD=98=E5=86=99=E5=85=A5=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 为 GitHub Actions 的 `cache-to` 配置补充 `ignore-error=true`,避免缓存写入失败影响构建流程。 --- .github/workflows/docker.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index a6641cf..e8a147d 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -146,5 +146,5 @@ jobs: type=gha,scope=lanqin-${{ matrix.name }} type=registry,ref=${{ steps.image.outputs.name }}:buildcache cache-to: | - type=gha,mode=max,scope=lanqin-${{ matrix.name }} + type=gha,mode=max,scope=lanqin-${{ matrix.name }},ignore-error=true type=registry,ref=${{ steps.image.outputs.name }}:buildcache,mode=max