CI: disable branch tagging to fix dependabot

This commit is contained in:
Sandro Jäckel 2020-05-18 02:21:47 +02:00
parent ccd0707d21
commit 3777041d3e
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5

View File

@ -27,8 +27,10 @@ else
elif [[ $VERSION == "${TRAVIS_BRANCH%-*}" ]]; then elif [[ $VERSION == "${TRAVIS_BRANCH%-*}" ]]; then
TAGS="-t $DOCKER_REPO:$TRAVIS_BRANCH -t $DOCKER_REPO:$VERSION -t $DOCKER_REPO:$VERSION_SHORT" TAGS="-t $DOCKER_REPO:$TRAVIS_BRANCH -t $DOCKER_REPO:$VERSION -t $DOCKER_REPO:$VERSION_SHORT"
# we build a other branch than master # we build a other branch than master
elif [[ -n $TRAVIS_BRANCH ]]; then # disabled for now cause it breaks Travis CI builds of dependabot
TAGS="-t $DOCKER_REPO:$TRAVIS_BRANCH" # https://travis-ci.org/github/factoriotools/factorio-docker/jobs/688176474#L182
# elif [[ -n $TRAVIS_BRANCH ]]; then
# TAGS="-t $DOCKER_REPO:$TRAVIS_BRANCH"
fi fi
else else
# we are not in CI and tag version and version short # we are not in CI and tag version and version short