Skip to content

Commit

Permalink
update travis.yml to support changes in docker login command
Browse files Browse the repository at this point in the history
  • Loading branch information
sqshq authored Sep 16, 2018
1 parent 20e23d1 commit b8baaf4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ env:

after_success:
- bash <(curl -s https://codecov.io/bash)
- docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
- docker login -u $DOCKER_USER -p $DOCKER_PASS

#TAG
- export TAG=`if [ "$TRAVIS_BRANCH" == "master" ]; then echo "latest"; else echo $TRAVIS_BRANCH ; fi`
Expand Down Expand Up @@ -78,4 +78,4 @@ after_success:
- export MONGO_DB=sqshq/piggymetrics-mongodb
- docker build -t $MONGO_DB:$COMMIT ./mongodb
- docker tag $MONGO_DB:$COMMIT $MONGO_DB:$TAG
- docker push $MONGO_DB
- docker push $MONGO_DB

0 comments on commit b8baaf4

Please sign in to comment.