From 018269377a4e37c799189bf1a4c859cf8da0e278 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Wed, 27 Jan 2021 23:55:45 +0100 Subject: [PATCH] Remove ref/tags from version --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 686cdbf..9b5efb7 100755 --- a/build.sh +++ b/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"