This commit is contained in:
Lucas Gravley 2019-11-08 09:00:07 -06:00
parent 28dff9c8ad
commit af69fc9285
2 changed files with 8 additions and 1 deletions

View file

@ -195,6 +195,10 @@ BuildImage()
echo "ERROR! failed to [build] Dockerfile!"
echo "ERROR:[$BUILD_CMD]"
exit 1
else
# SUCCESS
echo "Successfully Built image!"
echo "Info:[$BUILD_CMD]"
fi
}
################################################################################
@ -232,11 +236,13 @@ UploadImage()
else
# SUCCESS
echo "Successfully Uploaded Docker image to DockerHub!"
echo "Info:[$UPLOAD_CMD]"
fi
#########################
# Get Image information #
#########################
IFS=$'\n' # Set the delimit to newline
GET_INFO_CMD=$(docker images | grep "$IMAGE_REPO" | grep "$IMAGE_VERSION" 2>&1)
#######################

View file

@ -85,7 +85,8 @@ ENV GITHUB_SHA=${GITHUB_SHA} \
VALIDATE_PYTHON=${VALIDATE_PYTHON} \
VALIDATE_RUBY=${VALIDATE_RUBY} \
VALIDATE_COFFEE=${VALIDATE_COFFEE} \
VALIDATE_ANSIBLE=${VALIDATE_ANSIBLE}
VALIDATE_ANSIBLE=${VALIDATE_ANSIBLE} \
VALIDATE_JAVASCRIPT=${VALIDATE_JAVASCRIPT}
#############################
# Copy scripts to container #