From 73cec8c69257275bcb22f17e2bd436688892bb9b Mon Sep 17 00:00:00 2001 From: sebthom Date: Tue, 16 Apr 2024 11:35:07 +0200 Subject: [PATCH] fix: latest act runner version not determined correctly --- build-image.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-image.sh b/build-image.sh index c0f510a..518e703 100644 --- a/build-image.sh +++ b/build-image.sh @@ -36,7 +36,7 @@ image_repo=${DOCKER_IMAGE_REPO:-vegardit/gitea-act-runner} # resolve gitea act runner version ################################################# case $gitea_act_runner_version in - latest) gitea_act_runner_effective_version=$(curl https://gitea.com/gitea/act_runner/releases.rss | grep -oP "releases/tag/v\K\d\.\d\.\d" | head -n 1) + latest) gitea_act_runner_effective_version=$(curl https://gitea.com/gitea/act_runner/releases.rss | grep -oP "releases/tag/v\K\d\.\d\.\d\d?" | head -n 1) ;; *) gitea_act_runner_effective_version=$gitea_act_runner_version ;;