summaryrefslogtreecommitdiff
path: root/hack/podman-registry
diff options
context:
space:
mode:
authorMiloslav Trmač <mitr@redhat.com>2022-07-30 17:21:15 +0200
committerMiloslav Trmač <mitr@redhat.com>2022-07-30 17:23:38 +0200
commit7599fde73e383824196854174847094d148b72a0 (patch)
treeae5752ea5c6823a16002fc95f75dd08a7125e4dd /hack/podman-registry
parent68463278e3b22a03fa7a711f4993381747e5e2fc (diff)
downloadpodman-7599fde73e383824196854174847094d148b72a0.tar.gz
podman-7599fde73e383824196854174847094d148b72a0.tar.bz2
podman-7599fde73e383824196854174847094d148b72a0.zip
Use existing REGISTRY_IMAGE variables in more places
... 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č <mitr@redhat.com>
Diffstat (limited to 'hack/podman-registry')
-rwxr-xr-xhack/podman-registry2
1 files changed, 1 insertions, 1 deletions
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