From f793a76e33979e85e7fe211ba3cb810439e573d0 Mon Sep 17 00:00:00 2001 From: Clark Boylan Date: Mon, 17 Feb 2025 09:58:07 -0800 Subject: [PATCH] Use registry:2 image mirrored to quay.io In our container job roles and tests we sometimes need to set up a registry. In those caes we've typically been using registry:2 from docker.io. Docker has put in place some pretty strict rate limits so we've mirrored the image to quay.io as an alternative source location. Fetch the image from that location. Change-Id: Idccaa350bd2951d5b56314ea4f19bdcb9c13d1a1 --- .../roles/run-test-intermediate-registry/tasks/main.yaml | 2 +- util-tasks/run-docker-registry.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test-playbooks/registry/roles/run-test-intermediate-registry/tasks/main.yaml b/test-playbooks/registry/roles/run-test-intermediate-registry/tasks/main.yaml index d0bc72493..4ea3b7b7f 100644 --- a/test-playbooks/registry/roles/run-test-intermediate-registry/tasks/main.yaml +++ b/test-playbooks/registry/roles/run-test-intermediate-registry/tasks/main.yaml @@ -47,4 +47,4 @@ --env REGISTRY_AUTH_HTPASSWD_REALM="Registry Realm" --volume="/var/registry/certs:/certs" --volume="/var/registry/auth:/auth" - docker.io/library/registry:2 + quay.io/opendevmirror/registry:2 diff --git a/util-tasks/run-docker-registry.yaml b/util-tasks/run-docker-registry.yaml index b40f06976..185d1099b 100644 --- a/util-tasks/run-docker-registry.yaml +++ b/util-tasks/run-docker-registry.yaml @@ -47,6 +47,6 @@ -e "REGISTRY_AUTH=htpasswd" \ -e "REGISTRY_AUTH_HTPASSWD_REALM=Registry Realm" \ -e REGISTRY_AUTH_HTPASSWD_PATH=/auth/htpasswd \ - registry:2 + quay.io/opendevmirror/registry:2 args: chdir: "{{ registry_tempdir.path }}"