feat(registry-cache): add Docker Hub pull-through cache + dind mirror config

Deploy registry:2 as Docker Hub pull-through cache on chemavx-k8 (hostPort 5000,
ClusterIP 10.43.163.56:5000). Configures dind runner to use local mirror via
daemon.json to eliminate Docker Hub rate limit failures in CI/CD.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-22 11:35:36 +00:00
parent 25ea82f696
commit 0bf2e746dd
7 changed files with 211 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: docker-daemon-config
namespace: gitea
data:
daemon.json: |
{
"registry-mirrors": ["http://registry-cache.registry-cache.svc.cluster.local:5000"],
"insecure-registries": ["registry-cache.registry-cache.svc.cluster.local:5000"]
}