mirror of
https://github.com/factoriotools/factorio-docker.git
synced 2024-11-07 03:07:24 +01:00
Push base version on incremental tags
This commit is contained in:
parent
018269377a
commit
88ca3293a6
2
build.sh
2
build.sh
@ -86,7 +86,7 @@ if [[ $VERSION == "${BRANCH_VERSION:-}" && ${GITHUB_BASE_REF:-} == "" ]] ||
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# only push on tags or when manually running the script
|
# only push on tags or when manually running the script
|
||||||
if [[ -n ${GITHUB_BASE_REF:-} || -z ${CI:-} ]]; then
|
if [[ -n ${BRANCH_VERSION:-} || -z ${CI:-} ]]; then
|
||||||
docker push "$DOCKER_REPO:$VERSION"
|
docker push "$DOCKER_REPO:$VERSION"
|
||||||
docker push "$DOCKER_REPO:$VERSION_SHORT"
|
docker push "$DOCKER_REPO:$VERSION_SHORT"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user