Sign inSign up

jkurihara/github-runner

By jkurihara

Updated about 2 years ago

Self hosted runner for GitHub

Image
0

2.0K

jkurihara/github-runner repository overview

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.

repo_name

Requirement This is to set repository name. This image is not supported organization 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)

Tag summary

Content type

Image

Digest

sha256:bb39b52ca

Size

248.4 MB

Last updated

about 2 years ago

docker pull jkurihara/github-runner