Skip to content

Commit 0182693

Browse files
Remove ref/tags from version
1 parent 846e102 commit 0182693

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ cd "$VERSION_SHORT" || exit 1
1616
VERSION=$(grep -oP '[0-9]+\.[0-9]+\.[0-9]+' Dockerfile | head -1)
1717
DOCKER_REPO=factoriotools/factorio
1818

19-
BRANCH=${GITHUB_REF#refs/heads/}
19+
BRANCH=${GITHUB_REF#refs/*/}
2020

2121
if [[ -n ${GITHUB_BASE_REF:-} ]]; then
2222
TAGS="$DOCKER_REPO:$GITHUB_BASE_REF"

0 commit comments

Comments
 (0)