1
0
mirror of https://github.com/factoriotools/factorio-docker.git synced 2025-07-15 01:04:45 +02:00

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