From 27f4cfe21e7215af38e3f66bf778e29997c2cd9d Mon Sep 17 00:00:00 2001 From: claude Date: Thu, 18 Jun 2026 17:58:00 +0300 Subject: [PATCH] ci: enable BuildKit + let its GC manage the layer cache DOCKER_BUILDKIT=1 (explicit) so the restore layer is cached across builds; drop the explicit 'docker builder prune' (it was wiping that cache) and rely on BuildKit's own GC + 86GB headroom. Cleanup keeps dangling-image removal only. Co-Authored-By: Claude Opus 4.8 --- .gitea/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 202332d..20513db 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -13,6 +13,7 @@ on: env: GIT_HOST: git.easysoft.ro REGISTRY_HOST: registry.easysoft.ro + DOCKER_BUILDKIT: "1" API_IMAGE: apps/myai-api CV_MATCHER_API_IMAGE: apps/myai-cv-matcher-api RAG_API_IMAGE: apps/myai-rag-api @@ -109,4 +110,3 @@ jobs: if: always() run: | docker image prune -f # dangling only (keep base images) - docker builder prune -f --filter until=336h # keep ~2 weeks of layer cache \ No newline at end of file