mirror of
https://github.com/factoriotools/factorio-docker.git
synced 2025-03-31 20:35:40 +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)
|
VERSION=$(grep -oP '[0-9]+\.[0-9]+\.[0-9]+' Dockerfile | head -1)
|
||||||
DOCKER_REPO=factoriotools/factorio
|
DOCKER_REPO=factoriotools/factorio
|
||||||
|
|
||||||
BRANCH=${GITHUB_REF#refs/heads/}
|
BRANCH=${GITHUB_REF#refs/*/}
|
||||||
|
|
||||||
if [[ -n ${GITHUB_BASE_REF:-} ]]; then
|
if [[ -n ${GITHUB_BASE_REF:-} ]]; then
|
||||||
TAGS="$DOCKER_REPO:$GITHUB_BASE_REF"
|
TAGS="$DOCKER_REPO:$GITHUB_BASE_REF"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user