disable pull request push in script

This commit is contained in:
Peter Varsanyi 2018-06-09 20:34:02 -07:00
parent 252e26dd43
commit bd1ef7bee8
1 changed files with 1 additions and 1 deletions

View File

@ -18,4 +18,4 @@ script:
after_success:
- docker login -u $DOCKER_USER -p $DOCKER_PASS
- if [ "$ARCH" == "amd64" ]; then docker tag $REPO:$COMMIT $REPO:latest; fi
- docker push $REPO
- if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then docker push $REPO; fi