From 359ce8928a4ad29a0c43c55f42120441c53320d1 Mon Sep 17 00:00:00 2001 From: chemavx Date: Wed, 22 Apr 2026 17:29:28 +0000 Subject: [PATCH] ci: add docker.io mirror to buildkitd config for registry-cache BuildKit docker-container driver runs isolated from DinD daemon config, so it needs its own mirror declaration to route docker.io pulls through the cluster-local pull-through cache instead of Cloudflare CDN directly. Co-Authored-By: Claude Sonnet 4.6 --- .gitea/workflows/ci.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 862e4f8..c2d0cb8 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -40,6 +40,13 @@ jobs: http = true insecure = true + [registry."docker.io"] + mirrors = ["registry-cache.registry-cache.svc.cluster.local:5000"] + + [registry."registry-cache.registry-cache.svc.cluster.local:5000"] + http = true + insecure = true + - name: Build and push bot image uses: docker/build-push-action@v3 with: