diff --git a/scripts/run_registry.sh b/scripts/run_registry.sh index a22fe6e41a..0a20bc3535 100755 --- a/scripts/run_registry.sh +++ b/scripts/run_registry.sh @@ -41,11 +41,9 @@ function push { # Ugly hack around podman to circumvent the need of adding insecure registries # at /etc/docker/daemon.json when using the docker client docker save "${img}" | podman load - tag=${img##*:} - imgID=$(podman images -n | grep "${tag}" | awk '{print $3}' | head -n1) - podman tag "${imgID}" "${reg_img}" + podman tag "${img}" "${reg_img}" podman push --tls-verify=false "${reg_img}" - podman rmi -f "${imgID}" + podman rmi -f "${img}" done }