From 2a18977d06f6553e14fcc00a0003816fe8a22593 Mon Sep 17 00:00:00 2001 From: Chandan Kumar Date: Wed, 13 Sep 2023 09:50:19 +0530 Subject: [PATCH] Use RDO quay registry:2 image in podman molecule job We are hitting dockerhub rate limit while pulling registry:2.7.0 image from dockerhub. In order to avoid that, we use the mirrored RDO quay registry:2 image[1] to avoid such issues. [1]. quay.rdoproject.org/openstack-k8s-operators/registry:2.7.0 Signed-off-by: Chandan Kumar --- roles/edpm_podman/molecule/login/prepare.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/edpm_podman/molecule/login/prepare.yml b/roles/edpm_podman/molecule/login/prepare.yml index 04d5869d6..842b5a9d8 100644 --- a/roles/edpm_podman/molecule/login/prepare.yml +++ b/roles/edpm_podman/molecule/login/prepare.yml @@ -67,14 +67,14 @@ - name: Create registry shell: |- podman tag fedora:rawhide localhost:5000/my-fedora - podman run --entrypoint htpasswd registry:2.7.0 -Bbn testuser testpassword > {{ ansible_user_dir }}/auth/htpasswd + podman run --entrypoint htpasswd quay.rdoproject.org/openstack-k8s-operators/registry:2.7.0 -Bbn testuser testpassword > {{ ansible_user_dir }}/auth/htpasswd args: executable: /bin/bash - name: Create registry containers.podman.podman_container: name: registry - image: "registry:2.7.0" + image: "quay.rdoproject.org/openstack-k8s-operators/registry:2.7.0" restart_policy: always detach: true ports: