diff --git a/.travis.yml b/.travis.yml index 991e8e3..aee66f2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,5 +14,6 @@ script: - go install . - maintainer --help +# Build and push the Docker image to Docker Hub if the build is in master branch. after_script: - 'if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then bash ./scripts/master-build-in-travis.sh; fi'