From 4e261043cd769209303237d3287f5d3e8efea936 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Mon, 18 May 2020 02:43:06 +0200 Subject: [PATCH] CI: simplify logic --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 9d92c6d..ca84c4d 100755 --- a/build.sh +++ b/build.sh @@ -78,7 +78,7 @@ if [[ $(dirname "$(git diff --name-only HEAD^)") =~ $VERSION_SHORT ]] && [[ ${TR # push an incremental tag if [[ $VERSION == "${TRAVIS_BRANCH_VERSION:-}" ]]; then - docker push "$DOCKER_REPO:$TRAVIS_BRANCH" + docker push "$DOCKER_REPO:$VERSION" fi if [[ -n ${TRAVIS_TAG:-} ]] || [[ -z ${CI:-} ]]; then