Skip to content

Commit

Permalink
Do not publish docker images on PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan committed Feb 8, 2017
1 parent 8622cbb commit 16890a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ after_deploy:
docker push ikuosu/influxgraph:${TRAVIS_TAG};
after_success:
- coveralls
- if [ "$TRAVIS_BRANCH" == "master" ]; then
- if [ "$TRAVIS_BRANCH" == "master" && "$TRAVIS_PULL_REQUEST" == "false" ]; then
docker login -e="$DOCKER_EMAIL" -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD" &&
cd docker &&
docker build -t ikuosu/influxgraph:latest . &&
Expand Down

0 comments on commit 16890a9

Please sign in to comment.