From af69fc9285f63b2375119598fd69463cee794b9e Mon Sep 17 00:00:00 2001 From: Lucas Gravley <29484535+admiralAwkbar@users.noreply.github.com> Date: Fri, 8 Nov 2019 09:00:07 -0600 Subject: [PATCH] fix it --- .automation/upload-docker.sh | 6 ++++++ Dockerfile | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) 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 #