Thumbscrew/github-runner-docker-compose

Docker Compose file for a Github Runner (Docker image created by tcardonne)

★ 0Forks 0ShellGitHub ↗Compare
actionscomposedockerdocker-composerunner

README

Github Runner Docker Compose

Docker Compose file for a Github Runner (Docker image created by tcardonne - see https://hub.docker.com/r/tcardonne/github-runner)

Steps

  1. Clone the repository
git clone https://github.com/Thumbscrew/github-runner-docker-compose.git
cd github-runner-docker-compose
  1. Create a copy of .env.example
cp .env.example .env
  1. Create your runner in your repository settings (Settings -> Actions -> Runners -> New self-hosted runner)

  2. Copy the token and set the RUNNER_REPOSITORY and RUNNER_TOKEN in the .env file

  3. Bring up the containers!

sudo docker-compose -p github_runner up -d

Contributors

Thumbscrew

Issues