Skip to content
This repository has been archived by the owner on Jul 11, 2024. It is now read-only.

Commit

Permalink
removing the docker commit hash tag after success
Browse files Browse the repository at this point in the history
  • Loading branch information
az82 committed Feb 10, 2017
1 parent 3b6feee commit 73c531c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@ script:
after_success:
- docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
- docker tag $DOCKER_REPO:$TRAVIS_COMMIT $DOCKER_REPO:$([[ "$TRAVIS_BRANCH" == "master" ]] && echo "latest" || echo $TRAVIS_BRANCH)
- docker rmi $DOCKER_REPO:$TRAVIS_COMMIT
- docker push $DOCKER_REPO

0 comments on commit 73c531c

Please sign in to comment.