Fix registry name

This commit is contained in:
Tim Hockin 2019-11-01 10:23:50 -07:00
parent f994e620db
commit f07021cbe8
1 changed files with 3 additions and 3 deletions

6
icons/tools/build-visio-stencil-creator.sh Normal file → Executable file
View File

@ -4,7 +4,7 @@ GITHUB_ORG="hoveytechllc"
REPO_NAME="visio-stencil-creator"
TAG_NAME="v1.0"
GCR_REPO="gcr.k8s.io/${REPO_NAME}:${TAG_NAME}"
GCR_REPO="staging-k8s.gcr.io/${REPO_NAME}:${TAG_NAME}"
rm -fdr ./tools/${REPO_NAME}
@ -12,7 +12,7 @@ rm -fdr ./tools/${REPO_NAME}
git clone --branch release/${TAG_NAME} https://github.com/${GITHUB_ORG}/${REPO_NAME}.git ./tools/${REPO_NAME}
# build image using Dockerfile from github repository
# Tag resulting image for pushing to k8s.gcr.io
# Tag resulting image for pushing
docker build \
-t ${GCR_REPO} \
-f ./tools/${REPO_NAME}/Dockerfile \
@ -21,4 +21,4 @@ docker build \
# Clean up source code
rm -fdr ./tools/${REPO_NAME}
docker push ${GCR_REPO}
docker push ${GCR_REPO}