From 3bd8d9557628bb2e86f4737b4345663f78c098a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Kr=C3=BCger?= Date: Wed, 4 Mar 2026 18:57:39 +0100 Subject: [PATCH] ci: disable registry cache for backend build to fix poisoned buildcache The backend buildcache was contaminated with frontend image layers, causing the backend image to be built with the wrong content. Using no-cache forces a fresh build until the cache can be reliably separated. Co-Authored-By: Claude Sonnet 4.6 --- .gitea/workflows/docker-build-push.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.gitea/workflows/docker-build-push.yml b/.gitea/workflows/docker-build-push.yml index 1275cb5..e73ad14 100644 --- a/.gitea/workflows/docker-build-push.yml +++ b/.gitea/workflows/docker-build-push.yml @@ -135,8 +135,7 @@ jobs: push: ${{ gitea.event_name != 'pull_request' }} tags: ${{ steps.meta-backend.outputs.tags }} labels: ${{ steps.meta-backend.outputs.labels }} - cache-from: type=registry,ref=${{ env.REGISTRY }}/${{ env.BACKEND_IMAGE_NAME }}:buildcache - cache-to: type=registry,ref=${{ env.REGISTRY }}/${{ env.BACKEND_IMAGE_NAME }}:buildcache,mode=max + no-cache: true build-args: | NODE_ENV=production CI=true