We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2ea861d commit 9ffa5e7Copy full SHA for 9ffa5e7
scripts/run_registry.sh
@@ -41,11 +41,9 @@ function push {
41
# Ugly hack around podman to circumvent the need of adding insecure registries
42
# at /etc/docker/daemon.json when using the docker client
43
docker save "${img}" | podman load
44
- tag=${img##*:}
45
- imgID=$(podman images -n | grep "${tag}" | awk '{print $3}' | head -n1)
46
- podman tag "${imgID}" "${reg_img}"
+ podman tag "${img}" "${reg_img}"
47
podman push --tls-verify=false "${reg_img}"
48
- podman rmi -f "${imgID}"
+ podman rmi -f "${img}"
49
done
50
}
51
0 commit comments