Advance - Setup Runners with Dockers
Command
docker run \
-e GITEA_INSTANCE_URL=<instance_url> \
-e GITEA_RUNNER_REGISTRATION_TOKEN=<registration_token> \
-e GITEA_RUNNER_NAME=<runner_name> \
-e GITEA_RUNNER_LABELS=<runner_labels>
--name my_runner \
-d gitea/act_runner:latest
# e.g.
docker run \
-e GITEA_INSTANCE_URL=http://192.168.0.12:3000 \
-e GITEA_RUNNER_REGISTRATION_TOKEN=w3e4iujth2430789hre8uygof \
-e GITEA_RUNNER_NAME=my_ubuntu \
-e GITEA_RUNNER_LABELS=ubuntu-22.04
--name my_runner \
-d gitea/act_runner:latestReferences
-
Lables
https://docs.gitea.com/usage/actions/act-runner#labelsΒ -
Other docker gitea act runner
https://github.com/vegardit/docker-gitea-act-runnerΒ
Last updated on