A repo used to place all the auto deploy GitHub self-hosted runner Dockerfile scripts.
This Dockerfile can automatically install the required the env used for GitHub Self-Hosted Runner by passing your GitHub credentials and other information.
During the first time "boot-up" for the image, it will automatically use your credentials to register a self-hosted runner under your specified repo.
Also, it will setup the auto-run script for the runner to ensure it will still working even after the container stopped or restarted.
PRs are welcome!
Item | Stage | |
---|---|---|
Windows | Maintaining | ✔ |
Linux | In Plan | - |
OSX | - | - |
Windows
: Contains Dockerfile scripts running under Windows Container Env
docker build \
--build-arg GH_TOKEN=your_token \
--build-arg GH_ORG=your_org \
--build-arg GH_REPO=your_repo \
-t github-runner .
docker run -d --name github-runner-container -e github-runner
Virtual Machine | Processor (CPU) | Memory (RAM) | Storage (SSD) |
---|---|---|---|
Windows | 4 | 16 GB | 14 GB |
docker run -d --name github-runner-container \
--cpus=4 \
--memory=16g \
--memory-swap=16g \
--storage-opt size=14G \
-e github-runner