1
0
mirror of https://github.com/bplein/factorio-docker.git synced 2024-11-24 08:42:31 +02:00

CI: simplify logic

This commit is contained in:
Sandro Jäckel 2020-05-18 02:43:06 +02:00
parent 4c47dbc4ee
commit 4e261043cd
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5

View File

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