Remove docker push from CI script after realization it's insecure

This commit is contained in:
Brendan Le Glaunec
2018-05-04 16:38:48 +02:00
committed by Brendan LE GLAUNEC
parent 26c4c80fd2
commit 541d64168d
-4
View File
@@ -51,10 +51,6 @@ script:
# More lines: Logs for all found cameras # More lines: Logs for all found cameras
- if [[ $(wc -l <logs.txt) -lt 2 ]]; then exit 1; fi - if [[ $(wc -l <logs.txt) -lt 2 ]]; then exit 1; fi
after_success:
- echo "Test Success - Branch($TRAVIS_BRANCH) Pull Request($TRAVIS_PULL_REQUEST) Tag($TRAVIS_TAG)"
- if [[ "$TRAVIS_BRANCH" == "master" && "$DOCKER_PASSWORD" != "" ]]; then echo -e "Push Container to Docker Hub" && docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD && docker tag cameradar $DOCKER_REPO:latest && docker push $DOCKER_REPO; fi
notifications: notifications:
email: email:
recipients: recipients: