summaryrefslogtreecommitdiff
path: root/hack
diff options
context:
space:
mode:
authorMiloslav Trmač <mitr@redhat.com>2022-07-30 17:21:15 +0200
committerMiloslav Trmač <mitr@redhat.com>2022-08-02 16:52:56 +0200
commit52db7637378881479137136395d9d9ede58a3f8a (patch)
tree96b7dce041fafe6ed14a2430602b2ee7f6431676 /hack
parent2303632250168b0d856d4fcfe0b5d1a77ca8b873 (diff)
downloadpodman-52db7637378881479137136395d9d9ede58a3f8a.tar.gz
podman-52db7637378881479137136395d9d9ede58a3f8a.tar.bz2
podman-52db7637378881479137136395d9d9ede58a3f8a.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')
-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