Skip to content

vijaygill/gh-runner-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gh-runner-docker

Gihthub action runner in docker.

Note: This is for ARM64 only for now. X64 runners are provided by GH anyway. ARM64 builds are done using qemu and thus are very slow. My OrangePi5+ is a beast in comparison. The build for wg-ui-plus used to take more than 20 minutes in GH's own runner (using qemu) and my OrangePi5+ does that in less than 3 minutes!

Build image first

./build-docker-image.sh

Create network

docker network create dockernet

Run a runner (or as many as you want)

GH_TOKEN=YOUR_TOKEN_HERE RUNNER_NAME=name_of_your_runner GH_REPO=your/repo ./run-container.sh
  • YOUR_TOKEN_HERE: The token is obtained in settings page of your repo where you can add new self-hosted runner.

  • name_of_your_runner: any suitable name you want for your runner

  • your/repo: as the name suggests, your repo for which you want to setup self-hosted runner.

  • The container name will be gh-runner-name_of_your_runner.

About

Gihthub action runner in docker

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages