From 9f808022ba24e6359195c696e401cdff7b2f6469 Mon Sep 17 00:00:00 2001 From: Lukas Gravley Date: Mon, 31 Aug 2020 14:45:30 -0500 Subject: [PATCH 1/2] Update upload-docker.sh --- .automation/upload-docker.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.automation/upload-docker.sh b/.automation/upload-docker.sh index 750b6c19..ef85ffbb 100755 --- a/.automation/upload-docker.sh +++ b/.automation/upload-docker.sh @@ -151,7 +151,7 @@ ValidateInput() { info "Successfully found:${F[W]}[IMAGE_REPO]${F[B]}, value:${F[W]}[${IMAGE_REPO}]" # Set the docker Image repo and GCR 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 # ######################### From 3490d97bb1b12b9979c7fa2b958ab14152867534 Mon Sep 17 00:00:00 2001 From: Lukas Gravley Date: Mon, 31 Aug 2020 14:49:02 -0500 Subject: [PATCH 2/2] Update upload-docker.sh --- .automation/upload-docker.sh | 5 ----- 1 file changed, 5 deletions(-) diff --git a/.automation/upload-docker.sh b/.automation/upload-docker.sh index ef85ffbb..63b6d7da 100755 --- a/.automation/upload-docker.sh +++ b/.automation/upload-docker.sh @@ -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 CONTAINER_URL='' # Final URL to upload -##################### -# Get the repo name # -##################### -REPO_NAME=$(echo "${GITHUB_REPOSITORY}" |cut -f2 -d'/') # GitHub Repository name - ######################### # Source Function Files # #########################