Fix correct image
This commit is contained in:
parent
5c3c861f00
commit
51d3c2b42b
|
@ -10,10 +10,10 @@ function guess_image() {
|
|||
return
|
||||
fi
|
||||
|
||||
if [[ "${image}" == *"registry.docker.com/r"* ]]; then
|
||||
if [[ "${image}" == *"registry.hub.docker.com/r/"* ]]; then
|
||||
image="docker.io/${image##*registry.hub.docker.com\/r\/}"
|
||||
fi
|
||||
if [[ "${image}" == *"hub.docker.com/r"* ]]; then
|
||||
if [[ "${image}" == *"hub.docker.com/r/"* ]]; then
|
||||
image="docker.io/${image##*hub.docker.com\/r\/}"
|
||||
fi
|
||||
if [[ "${image%%/*}" != *"."* ]] || [[ "${image}" != *"/"* ]]; then
|
||||
|
|
Loading…
Reference in New Issue