github-runner is self hosted runner for GitHub. This is working on container.
docker run -d --rm --name runner \
-e token="Your runner token" \
-e owner="repository owner" \
-e repo_name="repository name" \
-e runner_name="Runner name" \
-e label="label1,label2" \
github-runner:latest
If need to set proxy settings, set environment variables of proxy. See GitHub Docs.
Optional This settings are proxy setting. Set your proxy server url.
ex.
http://<user>:<password>@hostname:port-number
Requirement This is to set runner name.
Optional This is to set self hosted runner token. This token is generated by github.
Warning Token can't use when restart container, because it is expired.
Requirement This is to set runner owner, for example organization name or user name.
ex. kuju63
Requirement This is to set repository name. This image is not supported organization runner.
ex. github-runner
Labeled to Self-Hosted-runner. Details see here.
Add runner to specified self-hosted runner group. Self-hosted runner group is using Organization only.
Disable verify process for SSL/TLS. When Proxy server using self-signed certificate, this option is need to set "1".
Opt-out auto-update to the latest runner version. Use this option, this is need to set "0". actions/runner
Details see GitHub Docs (Controlling runner software updates on self-hosted runners)