Modifications
This commit is contained in:
@@ -39,8 +39,6 @@ do
|
||||
|
||||
# pull the parent image from docker hub, if it doesn't already exist locally.
|
||||
LOCAL_EXISTS=$(docker images --format "{{.Repository}}:{{.Tag}}" | grep -x ${UPSTREAM_IMAGE}:${UPSTREAM_IMAGE_TAG})
|
||||
echo "LOCAL_EXISTS: $LOCAL_EXISTS"
|
||||
echo "USE_LOCAL: $USE_LOCAL"
|
||||
if [[ $USE_LOCAL == 1 && $LOCAL_EXISTS != "" ]]; then
|
||||
echo "Using local image ${UPSTREAM_IMAGE}:${UPSTREAM_IMAGE_TAG}..."
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user