mirror of
https://github.com/factoriotools/factorio-docker.git
synced 2024-11-10 04:37:23 +01:00
Fix CI for PRs
This commit is contained in:
parent
429c88f290
commit
c1e1a1c4ca
2
build.sh
2
build.sh
@ -19,7 +19,7 @@ DOCKER_REPO=factoriotools/factorio
|
|||||||
BRANCH=${GITHUB_REF#refs/*/}
|
BRANCH=${GITHUB_REF#refs/*/}
|
||||||
|
|
||||||
if [[ -n ${GITHUB_BASE_REF:-} ]]; then
|
if [[ -n ${GITHUB_BASE_REF:-} ]]; then
|
||||||
TAGS="$DOCKER_REPO:$GITHUB_BASE_REF"
|
TAGS="-t $DOCKER_REPO:$GITHUB_BASE_REF"
|
||||||
else
|
else
|
||||||
if [[ -n ${CI:-} ]]; then
|
if [[ -n ${CI:-} ]]; then
|
||||||
# we are either on master or on a tag build
|
# we are either on master or on a tag build
|
||||||
|
Loading…
Reference in New Issue
Block a user