Fix registry name
This commit is contained in:
parent
f994e620db
commit
f07021cbe8
|
|
@ -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}
|
||||
|
|
|
|||
Loading…
Reference in New Issue