From c232a7d079f743c04a09aff4a8456b63c0fd7db3 Mon Sep 17 00:00:00 2001 From: Bryan Van Deusen Date: Mon, 16 Mar 2026 12:32:06 -0400 Subject: [PATCH] fix: downgrade buildx cache export from mode=max to mode=min mode=max exports all intermediate layer blobs which exceeded the Forgejo registry's blob upload size limit (400 Bad Request). mode=min only exports the final image layers, keeping cache entries small enough for the registry. The actual image build and push was succeeding; only the cache write failed. Co-Authored-By: Claude Sonnet 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 805cdda..cbb8d63 100644 --- a/.forgejo/workflows/ci.yml +++ b/.forgejo/workflows/ci.yml @@ -143,4 +143,4 @@ jobs: tags: ${{ steps.tags.outputs.value }} build-args: BUILD_VERSION=${{ steps.tags.outputs.build_version }} 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=min