Skip to content

Commit

Permalink
Remove docker push from CI script after realization it's insecure
Browse files Browse the repository at this point in the history
  • Loading branch information
Ullaakut committed May 4, 2018
1 parent cd429a3 commit f486968
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions .travis.yml
Expand Up @@ -51,10 +51,6 @@ script:
# More lines: Logs for all found cameras
- 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:
email:
recipients:
Expand Down

0 comments on commit f486968

Please sign in to comment.