ci: add docker.io mirror to buildkitd config for registry-cache
CI/CD / build-and-push (push) Failing after 4m22s
CI/CD / build-and-push (push) Failing after 4m22s
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 <noreply@anthropic.com>
This commit is contained in:
@@ -40,6 +40,13 @@ jobs:
|
|||||||
http = true
|
http = true
|
||||||
insecure = 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
|
- name: Build and push bot image
|
||||||
uses: docker/build-push-action@v3
|
uses: docker/build-push-action@v3
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user