mirror of
https://github.com/factoriotools/factorio-docker.git
synced 2024-11-06 18:57: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
|
||||
|
||||
# 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_SHORT"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user