Skip to content

Commit 559f46b

Browse files
Sungjun.Kimrkooo567
authored andcommitted
Use CLIPPER_REGISTRY, CLIPPER_TAG environment variable if existed (ucbrise#666)
* Use CLIPPER_REGISTRY environment variable if existed * Add new CLIPPER_TAG
1 parent 3ede8be commit 559f46b

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

bin/shipyard.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
1414
cd $DIR/..
1515

1616
# We will build all images and push them to
17-
# dockerhub under clippertesting/{image_name}:sha_tag
18-
CLIPPER_REGISTRY='clippertesting'
19-
sha_tag=$(git rev-parse --verify --short=10 HEAD)
17+
# dockerhub under $CLIPPER_REGISTRY/{image_name}:sha_tag
18+
CLIPPER_REGISTRY="${CLIPPER_REGISTRY:-clippertesting}"
19+
sha_tag="${CLIPPER_TAG:-$(git rev-parse --verify --short=10 HEAD)}"
2020
push_version_flag="--no-push"
2121

2222
# Jenkins will merge the PR, however we will use the unmerged

0 commit comments

Comments
 (0)