From 717ac1b5d71851e96b04142054546f4451ca9072 Mon Sep 17 00:00:00 2001 From: Bryan Van Deusen Date: Sun, 12 Apr 2026 11:36:27 -0400 Subject: [PATCH] fix(ci): make registry cache export non-fatal The Forgejo registry occasionally returns 400 on large cache layer blob uploads, failing the entire build even though the image itself pushed successfully. Adding ignore-error=true to cache-to so cache failures don't block deployments. Co-Authored-By: Claude Opus 4.6 --- .forgejo/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.forgejo/workflows/ci.yml b/.forgejo/workflows/ci.yml index bb12b70..f488c5e 100644 --- a/.forgejo/workflows/ci.yml +++ b/.forgejo/workflows/ci.yml @@ -179,4 +179,4 @@ jobs: # pruned. `mode=max` exports all intermediate layers, not # just the final image, which is what gives the ~80% speedup. cache-from: type=registry,ref=${{ env.IMAGE }}:cache - cache-to: type=registry,ref=${{ env.IMAGE }}:cache,mode=max + cache-to: type=registry,ref=${{ env.IMAGE }}:cache,mode=max,ignore-error=true