Skip to content

Commit

Permalink
Update .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
lestex authored Dec 21, 2017
1 parent c2fb165 commit 65893eb
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,7 @@ after_success:
- docker login -u "$DOCKERHUB_USERNAME" -p "$DOCKERHUB_PASSWORD"
- if [ "$TRAVIS_BRANCH" == "master" ]; then
docker tag $REPO $REPO:latest;
else
docker tag $REPO $REPO:$TRAVIS_BRANCH .;
fi
- if ! [ -z "$TRAVIS_TAG" ]; then
elif ! [ -z "$TRAVIS_TAG" ]; then
docker build -t $REPO:$TRAVIS_TAG .;
fi
- docker images
Expand Down

0 comments on commit 65893eb

Please sign in to comment.