diff --git a/.travis.yml b/.travis.yml index da288e827..b876cf04d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,6 +15,10 @@ script: after_success: - set -e; + - if [ -z "$DOCKER_PASS" ] ; then + echo "This is a build triggered by an external PR. Skipping docker push."; + exit 0; + fi; - docker login -u $DOCKER_USER -p $DOCKER_PASS; - ./scripts/push.sh notifications: