Skip to content

Commit

Permalink
fix: latest act runner version not determined correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
sebthom committed Apr 16, 2024
1 parent 632b6fb commit 73cec8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build-image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
;;
Expand Down

0 comments on commit 73cec8c

Please sign in to comment.