Push base version on incremental tags

This commit is contained in:
Sandro Jäckel 2021-01-28 00:19:46 +01:00
parent 018269377a
commit 88ca3293a6
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5

View File

@ -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