mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-22 06:01:05 -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! failed to [build] Dockerfile!"
|
||||||
echo "ERROR:[$BUILD_CMD]"
|
echo "ERROR:[$BUILD_CMD]"
|
||||||
exit 1
|
exit 1
|
||||||
|
else
|
||||||
|
# SUCCESS
|
||||||
|
echo "Successfully Built image!"
|
||||||
|
echo "Info:[$BUILD_CMD]"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
################################################################################
|
################################################################################
|
||||||
|
@ -232,11 +236,13 @@ UploadImage()
|
||||||
else
|
else
|
||||||
# SUCCESS
|
# SUCCESS
|
||||||
echo "Successfully Uploaded Docker image to DockerHub!"
|
echo "Successfully Uploaded Docker image to DockerHub!"
|
||||||
|
echo "Info:[$UPLOAD_CMD]"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#########################
|
#########################
|
||||||
# Get Image information #
|
# Get Image information #
|
||||||
#########################
|
#########################
|
||||||
|
IFS=$'\n' # Set the delimit to newline
|
||||||
GET_INFO_CMD=$(docker images | grep "$IMAGE_REPO" | grep "$IMAGE_VERSION" 2>&1)
|
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_PYTHON=${VALIDATE_PYTHON} \
|
||||||
VALIDATE_RUBY=${VALIDATE_RUBY} \
|
VALIDATE_RUBY=${VALIDATE_RUBY} \
|
||||||
VALIDATE_COFFEE=${VALIDATE_COFFEE} \
|
VALIDATE_COFFEE=${VALIDATE_COFFEE} \
|
||||||
VALIDATE_ANSIBLE=${VALIDATE_ANSIBLE}
|
VALIDATE_ANSIBLE=${VALIDATE_ANSIBLE} \
|
||||||
|
VALIDATE_JAVASCRIPT=${VALIDATE_JAVASCRIPT}
|
||||||
|
|
||||||
#############################
|
#############################
|
||||||
# Copy scripts to container #
|
# Copy scripts to container #
|
||||||
|
|
Loading…
Reference in a new issue