ci(.github/workflows): 忽略 Docker 缓存写入错误

- 为 GitHub Actions 的 `cache-to` 配置补充 `ignore-error=true`,避免缓存写入失败影响构建流程。
This commit is contained in:
LanQin
2026-06-16 22:33:42 +08:00
parent b0cc425f61
commit 9a8c38f51d
+1 -1
View File
@@ -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