Skip to content

Commit

Permalink
Push to a docker tag based on the git branch or tag name
Browse files Browse the repository at this point in the history
  • Loading branch information
Bjwebb committed Sep 30, 2015
1 parent 633c675 commit a4c02da
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 @@ -13,3 +13,4 @@ script:
after_success:
- docker login -e="$DOCKER_EMAIL" -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"
- docker push opendataservices/resource-projects-etl
- if [[ $TRAVIS_PULL_REQUEST -eq "false" ]]; then docker tag opendataservices/resource-projects-etl opendataservices/resource-projects-etl:${TRAVIS_TAG:-$TRAVIS_BRANCH}; docker push opendataservices/resource-projects-etl:${TRAVIS_TAG:-$TRAVIS_BRANCH}; fi

0 comments on commit a4c02da

Please sign in to comment.