diff options
author | Miloslav Trmač <mitr@redhat.com> | 2022-07-30 17:21:15 +0200 |
---|---|---|
committer | Miloslav Trmač <mitr@redhat.com> | 2022-07-30 17:23:38 +0200 |
commit | 7599fde73e383824196854174847094d148b72a0 (patch) | |
tree | ae5752ea5c6823a16002fc95f75dd08a7125e4dd /hack/podman-registry | |
parent | 68463278e3b22a03fa7a711f4993381747e5e2fc (diff) | |
download | podman-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-x | hack/podman-registry | 2 |
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 |