From 16890a949d7d7b015f9385b06f15299ee39d8cd3 Mon Sep 17 00:00:00 2001 From: Dan <22e889d8@opayq.com> Date: Wed, 8 Feb 2017 11:01:52 +0000 Subject: [PATCH] Do not publish docker images on PRs --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index de959ff..1d2a118 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 . &&