From 7599fde73e383824196854174847094d148b72a0 Mon Sep 17 00:00:00 2001 From: Miloslav Trmač Date: Sat, 30 Jul 2022 17:21:15 +0200 Subject: Use existing REGISTRY_IMAGE variables in more places MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ... instead of hard-coding a copy of the value. Notably this makes hack/podman_registry actually support the documented -i option. Signed-off-by: Miloslav Trmač --- hack/podman-registry | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hack') diff --git a/hack/podman-registry b/hack/podman-registry index 84faafb48..f1254966b 100755 --- a/hack/podman-registry +++ b/hack/podman-registry @@ -218,7 +218,7 @@ function do_start() { -e "REGISTRY_AUTH_HTPASSWD_PATH=/auth/htpasswd" \ -e "REGISTRY_HTTP_TLS_CERTIFICATE=/auth/domain.crt" \ -e "REGISTRY_HTTP_TLS_KEY=/auth/domain.key" \ - registry:2.6 + ${PODMAN_REGISTRY_IMAGE} # Confirm that registry started and port is active wait_for_port $PODMAN_REGISTRY_PORT -- cgit v1.2.3-54-g00ecf