mirror of
https://github.com/bplein/factorio-docker.git
synced 2024-11-28 08:58:42 +02: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