mirror of
https://github.com/factoriotools/factorio-docker.git
synced 2024-12-26 19:08:23 +01:00
Fix docker push with new incremental tags pt. 3
This commit is contained in:
parent
fe9875343f
commit
e8705a44b8
2
build.sh
2
build.sh
@ -60,7 +60,7 @@ if [[ $(dirname "$(git diff --name-only HEAD^)") =~ $VERSION_SHORT ]] && [[ $TRA
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# push an incremental tag
|
# push an incremental tag
|
||||||
if [[ $VERSION != "${TRAVIS_BRANCH%-*}" ]]; then
|
if [[ $VERSION == "${TRAVIS_BRANCH%-*}" ]]; then
|
||||||
docker push "$DOCKER_REPO:$TRAVIS_BRANCH"
|
docker push "$DOCKER_REPO:$TRAVIS_BRANCH"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user