Skip to content

Commit

Permalink
Push latest tag
Browse files Browse the repository at this point in the history
  • Loading branch information
Giovanni Toraldo committed Feb 24, 2017
1 parent 333edad commit 7830ed1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dockerbuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
docker login --email="[email protected]" --password=$REGISTRY_PASSWORD --username=$REGISTRY_USERNAME $REGISTRY_HOST

BASE_NAME=$REGISTRY_HOST"/vivace"
BUILD_VERSION=$BASE_NAME:$CIRCLE_BUILD_NUM
BUILD_VERSION=$BASE_NAME:latest

docker build --pull -t $BUILD_VERSION .
docker build --rm=false -t $BUILD_VERSION .
docker push $BUILD_VERSION

exit 0

0 comments on commit 7830ed1

Please sign in to comment.