Skip to content

Commit

Permalink
keep development imange name consistent
Browse files Browse the repository at this point in the history
for development easy life, i would like keep the compose build imange
  name is same name.
  • Loading branch information
xiaods committed Jan 22, 2017
1 parent 2410ff6 commit d927494
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions bin/build-push-or-up.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,7 @@ set -e
export GO_VERSION=${GO_VERSION:-"1.7.4"}
export CRANE_IP=${CRANE_IP:-"127.0.0.1"}
export REGISTRY_PREFIX=${REGISTRY_PREFIX:-""}
export DEFAULT_TAG=`git rev-parse --short HEAD`
if [ "x$DEFAULT_TAG" = "x" ]
then
# local build image with devel tag
DEFAULT_TAG="dev"
fi
export DEFAULT_TAG="dev"
export TAG=${VERSION:-$DEFAULT_TAG}

up_or_push=$1
Expand Down

0 comments on commit d927494

Please sign in to comment.