From e8705a44b83536b054a829a21ee0a8e94a746306 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Sat, 6 Jul 2019 17:32:35 +0200 Subject: [PATCH] Fix docker push with new incremental tags pt. 3 --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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