From 9536c8a75ad4161aa5d0842776c32ba495d36289 Mon Sep 17 00:00:00 2001 From: xtcnet Date: Tue, 17 Mar 2026 23:18:22 +0700 Subject: [PATCH] fix(install): switch Forgejo Runner to gitea/act_runner from Docker Hub code.forgejo.org/forgejo/runner does not have usable version tags. Use gitea/act_runner:latest from Docker Hub which is fully compatible with Forgejo Actions. Update register/daemon commands accordingly (act_runner instead of forgejo-runner, --instance instead of --url). Co-Authored-By: Claude Sonnet 4.6 --- install.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/install.sh b/install.sh index 1e31f06..c8d110a 100644 --- a/install.sh +++ b/install.sh @@ -20,7 +20,7 @@ DOCKER_NETWORK="d3v-net" FORGEJO_RUNNER_DIR="/opt/forgejo-runner" FORGEJO_RUNNER_CONTAINER="forgejo-runner" -FORGEJO_RUNNER_IMAGE="code.forgejo.org/forgejo/runner:3" +FORGEJO_RUNNER_IMAGE="gitea/act_runner:latest" RED='\033[0;31m' GREEN='\033[0;32m' @@ -782,9 +782,9 @@ do_forgejo_runner_install() { docker run --rm \ -v "${FORGEJO_RUNNER_DIR}:/data" \ "${FORGEJO_RUNNER_IMAGE}" \ - forgejo-runner register \ + act_runner register \ --no-interactive \ - --url "${forgejo_url}" \ + --instance "${forgejo_url}" \ --token "${runner_token}" \ --name "$(hostname)-runner" \ --labels "ubuntu-latest:docker://node:20-bullseye,ubuntu-22.04:docker://node:20-bullseye" @@ -802,7 +802,7 @@ do_forgejo_runner_install() { -v /var/run/docker.sock:/var/run/docker.sock \ -v "${FORGEJO_RUNNER_DIR}:/data" \ "${FORGEJO_RUNNER_IMAGE}" \ - forgejo-runner daemon + act_runner daemon log_ok "Forgejo Runner started." echo ""