mirror of
https://github.com/super-linter/super-linter.git
synced 2024-12-23 07:42:13 -05:00
commit
fde36f9492
1 changed files with 1 additions and 6 deletions
|
@ -35,11 +35,6 @@ GCR_IMAGE_REPO='' # Docker tag for the image when create
|
||||||
FOUND_IMAGE=0 # Flag for if the image has already been built
|
FOUND_IMAGE=0 # Flag for if the image has already been built
|
||||||
CONTAINER_URL='' # Final URL to upload
|
CONTAINER_URL='' # Final URL to upload
|
||||||
|
|
||||||
#####################
|
|
||||||
# Get the repo name #
|
|
||||||
#####################
|
|
||||||
REPO_NAME=$(echo "${GITHUB_REPOSITORY}" |cut -f2 -d'/') # GitHub Repository name
|
|
||||||
|
|
||||||
#########################
|
#########################
|
||||||
# Source Function Files #
|
# Source Function Files #
|
||||||
#########################
|
#########################
|
||||||
|
@ -151,7 +146,7 @@ ValidateInput() {
|
||||||
info "Successfully found:${F[W]}[IMAGE_REPO]${F[B]}, value:${F[W]}[${IMAGE_REPO}]"
|
info "Successfully found:${F[W]}[IMAGE_REPO]${F[B]}, value:${F[W]}[${IMAGE_REPO}]"
|
||||||
# Set the docker Image repo and GCR image repo
|
# Set the docker Image repo and GCR image repo
|
||||||
DOCKER_IMAGE_REPO="${IMAGE_REPO}"
|
DOCKER_IMAGE_REPO="${IMAGE_REPO}"
|
||||||
GCR_IMAGE_REPO="${GCR_URL}/${IMAGE_REPO}/${REPO_NAME}"
|
GCR_IMAGE_REPO="${GCR_URL}/${IMAGE_REPO}"
|
||||||
#########################
|
#########################
|
||||||
# Set the container URL #
|
# Set the container URL #
|
||||||
#########################
|
#########################
|
||||||
|
|
Loading…
Reference in a new issue