Skip to content

kuju63/github-runner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

github-runner

github-runner is self hosted runner for GitHub. This is working on container.

How to use

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.

Setting

http_proxy / https_proxy

Optional This settings are proxy setting. Set your proxy server url.

ex.

http://<user>:<password>@hostname:port-number

runner_name

Requirement This is to set runner name.

token

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.

owner

Requirement This is to set runner owner, for example organization name or user name.

ex. kuju63

repo_name

Requirement This is to set repository name. This image is not supported organization runner.

ex. github-runner

label [Optional]

Labeled to Self-Hosted-runner. Details see here.

group [Optional]

Add runner to specified self-hosted runner group. Self-hosted runner group is using Organization only.

tls_no_verify[Optional]

Disable verify process for SSL/TLS. When Proxy server using self-signed certificate, this option is need to set "1".

disable_auto_update [Optional]

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)