Fix CI for PRs

This commit is contained in:
Sandro Jäckel 2021-02-05 22:55:04 +01:00
parent 429c88f290
commit c1e1a1c4ca
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5

View File

@ -19,7 +19,7 @@ DOCKER_REPO=factoriotools/factorio
BRANCH=${GITHUB_REF#refs/*/}
if [[ -n ${GITHUB_BASE_REF:-} ]]; then
TAGS="$DOCKER_REPO:$GITHUB_BASE_REF"
TAGS="-t $DOCKER_REPO:$GITHUB_BASE_REF"
else
if [[ -n ${CI:-} ]]; then
# we are either on master or on a tag build