mirror of
https://github.com/factoriotools/factorio-docker.git
synced 2025-01-12 19:27:11 +01:00
ci: Fix incremental push
This commit is contained in:
parent
e47431c7af
commit
46b94cb19f
2
build.sh
2
build.sh
@ -75,7 +75,7 @@ if [[ $VERSION == "${TRAVIS_BRANCH_VERSION:-}" && ${TRAVIS_PULL_REQUEST_BRANCH:-
|
|||||||
# push an incremental tag
|
# push an incremental tag
|
||||||
# eg 0.18.24-1
|
# eg 0.18.24-1
|
||||||
if [[ $VERSION == "${TRAVIS_BRANCH_VERSION:-}" ]]; then
|
if [[ $VERSION == "${TRAVIS_BRANCH_VERSION:-}" ]]; then
|
||||||
docker push "$DOCKER_REPO:$VERSION"
|
docker push "$DOCKER_REPO:$TRAVIS_BRANCH"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# only push on tags or when manually running the script
|
# only push on tags or when manually running the script
|
||||||
|
Loading…
Reference in New Issue
Block a user