Prints out some useful stuff

This commit is contained in:
Aaron Louie 2020-05-06 17:04:51 -04:00
parent 17e3ec248f
commit c3771d4dfc
1 changed files with 3 additions and 0 deletions

View File

@ -17,6 +17,9 @@ install:
- export REPO=sartography/cr-connect-db
- export TAG=`if [$TRAVIS_BRANCH == "master"]; then echo "latest"; else echo $TRAVIS_BRANCH ; fi`
- docker build --build-arg GIT_COMMIT="$REPO:$COMMIT" -f Dockerfile -t $REPO:$COMMIT .
- echo "REPO:TAG = $REPO:$TAG"
- echo "$REPO:$COMMIT = $REPO:$TAG"
- echo "$REPO:travis-$TRAVIS_BUILD_NUMBER"
- docker tag $REPO:$COMMIT $REPO:$TAG
- docker tag $REPO:$COMMIT $REPO:travis-$TRAVIS_BUILD_NUMBER
- docker push $REPO