Skip to content

Commit 16890a9

Browse files
author
Dan
committed
Do not publish docker images on PRs
1 parent 8622cbb commit 16890a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ after_deploy:
4646
docker push ikuosu/influxgraph:${TRAVIS_TAG};
4747
after_success:
4848
- coveralls
49-
- if [ "$TRAVIS_BRANCH" == "master" ]; then
49+
- if [ "$TRAVIS_BRANCH" == "master" && "$TRAVIS_PULL_REQUEST" == "false" ]; then
5050
docker login -e="$DOCKER_EMAIL" -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD" &&
5151
cd docker &&
5252
docker build -t ikuosu/influxgraph:latest . &&

0 commit comments

Comments
 (0)