diff --git a/.automation/upload-docker.sh b/.automation/upload-docker.sh index 4d562835..ba5c13b1 100755 --- a/.automation/upload-docker.sh +++ b/.automation/upload-docker.sh @@ -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) ####################### diff --git a/Dockerfile b/Dockerfile index 452f4ff0..32c179cb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 #