Update correct image
This commit is contained in:
parent
417bdacde8
commit
cdc68da332
|
@ -17,7 +17,10 @@ function guess_image() {
|
|||
if [[ "${image}" == *"hub.docker.com/r/"* ]]; then
|
||||
image="docker.io/${image##*hub.docker.com\/r\/}"
|
||||
fi
|
||||
if [[ "${image%%/*}" != *"."* ]] || [[ "${image}" != *"/"* ]]; then
|
||||
if [[ "${image}" != *"/"* ]]; then
|
||||
image="library/${image}"
|
||||
fi
|
||||
if [[ "${image%%/*}" != *"."* ]]; then
|
||||
image="docker.io/${image}"
|
||||
fi
|
||||
if [[ "${image}" != *":"* ]]; then
|
||||
|
|
Loading…
Reference in New Issue