diff --git a/.travis.yml b/.travis.yml index 9a4c3976..1e6ca6d3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -50,7 +50,7 @@ matrix: script: - docker build -t mozilla/ssh_scan . - > - if [ [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_BRANCH" == "master" ] ]; then \ + if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then \ docker login -u="$DOCKER_USER" -p="$DOCKER_PASS" ;\ docker push mozilla/ssh_scan:latest ;\ else \