ci: Fix incremental push

This commit is contained in:
Sandro Jäckel
2020-05-18 04:08:29 +02:00
parent e47431c7af
commit 46b94cb19f

View File

@ -75,7 +75,7 @@ if [[ $VERSION == "${TRAVIS_BRANCH_VERSION:-}" && ${TRAVIS_PULL_REQUEST_BRANCH:-
# push an incremental tag
# eg 0.18.24-1
if [[ $VERSION == "${TRAVIS_BRANCH_VERSION:-}" ]]; then
docker push "$DOCKER_REPO:$VERSION"
docker push "$DOCKER_REPO:$TRAVIS_BRANCH"
fi
# only push on tags or when manually running the script