From 88ca3293a68a208b779058aa4fada80e18e7b727 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Thu, 28 Jan 2021 00:19:46 +0100 Subject: [PATCH] Push base version on incremental tags --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 9b5efb7..6698783 100755 --- a/build.sh +++ b/build.sh @@ -86,7 +86,7 @@ if [[ $VERSION == "${BRANCH_VERSION:-}" && ${GITHUB_BASE_REF:-} == "" ]] || fi # only push on tags or when manually running the script - if [[ -n ${GITHUB_BASE_REF:-} || -z ${CI:-} ]]; then + if [[ -n ${BRANCH_VERSION:-} || -z ${CI:-} ]]; then docker push "$DOCKER_REPO:$VERSION" docker push "$DOCKER_REPO:$VERSION_SHORT" fi