mirror of
https://github.com/super-linter/super-linter.git
synced 2024-12-22 15:22:16 -05:00
fix it
This commit is contained in:
parent
28dff9c8ad
commit
af69fc9285
2 changed files with 8 additions and 1 deletions
|
@ -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)
|
||||
|
||||
#######################
|
||||
|
|
|
@ -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 #
|
||||
|
|
Loading…
Reference in a new issue