You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 2, 2022. It is now read-only.
echo'Pull from Docker Hub failed, rebuilding base image from scratch.'
54
+
export EXISTS_MIRROR='true'
53
55
fi
54
56
fi
55
57
# esplain yerself
56
-
if [[ "$EXISTS_ALL"=='false' ]];then
58
+
if [[ "$EXISTS_DOCKER_HUB"=='false'&&"$EXISTS_MIRROR"=='false' ]];then
57
59
echo'Building base image from scratch.'
58
60
elif [[ "$OVERWRITE_BASE_IMAGE"=='true' ]];then
59
61
echo"OVERWRITE_BASE_IMAGE is set to 'true', building from scratch and pushing to docker registries."
60
62
elif [[ "$FORCE_BASE_IMAGE"=='true' ]];then
61
63
echo"FORCE_BASE_IMAGE is set to 'true', building from scratch and NOT pushing to docker registries."
62
64
fi
63
65
# build, if neccessary
64
-
if [[ "$EXISTS_ALL"=='false'||"$FORCE_BASE_IMAGE"=='true'||"$OVERWRITE_BASE_IMAGE"=='true' ]];then# if we cannot pull the image, we build and push it first
66
+
if [[ ("$EXISTS_DOCKER_HUB" == 'false'&&"$EXISTS_MIRROR" == 'false')||"$FORCE_BASE_IMAGE"=='true'||"$OVERWRITE_BASE_IMAGE"=='true' ]];then# if we cannot pull the image, we build and push it first
0 commit comments