mirror of
https://github.com/factoriotools/factorio-docker.git
synced 2024-11-24 08:22:14 +02:00
Remove ref/tags from version
This commit is contained in:
parent
846e102ac8
commit
018269377a
2
build.sh
2
build.sh
@ -16,7 +16,7 @@ cd "$VERSION_SHORT" || exit 1
|
||||
VERSION=$(grep -oP '[0-9]+\.[0-9]+\.[0-9]+' Dockerfile | head -1)
|
||||
DOCKER_REPO=factoriotools/factorio
|
||||
|
||||
BRANCH=${GITHUB_REF#refs/heads/}
|
||||
BRANCH=${GITHUB_REF#refs/*/}
|
||||
|
||||
if [[ -n ${GITHUB_BASE_REF:-} ]]; then
|
||||
TAGS="$DOCKER_REPO:$GITHUB_BASE_REF"
|
||||
|
Loading…
Reference in New Issue
Block a user