diff --git a/build.sh b/build.sh index 6c8fe82..449b798 100755 --- a/build.sh +++ b/build.sh @@ -60,7 +60,7 @@ if [[ $(dirname "$(git diff --name-only HEAD^)") =~ $VERSION_SHORT ]] && [[ $TRA fi # push an incremental tag - if [[ $VERSION != "${TRAVIS_BRANCH%-*}" ]]; then + if [[ $VERSION == "${TRAVIS_BRANCH%-*}" ]]; then docker push "$DOCKER_REPO:$TRAVIS_BRANCH" fi