An open API service indexing awesome lists of open source software.

https://github.com/henryhst/github-runner-docker

Github runner docker image for selfhost infra
https://github.com/henryhst/github-runner-docker

docker github-runner ubuntu2204

Last synced: 3 months ago
JSON representation

Github runner docker image for selfhost infra

Awesome Lists containing this project

README

          

# github-runner-docker
Dockerfile for the creation of a GitHub Actions runner image to be deployed dynamically. [Find the full explanation and tutorial here](https://baccini-al.medium.com/creating-a-dockerfile-for-dynamically-creating-github-actions-self-hosted-runners-5994cc08b9fb).

When running the docker image, or when executing docker compose, environment variables for repo-owner/repo-name and github-token must be included.

Credit to [testdriven.io](https://testdriven.io/blog/github-actions-docker/) for the original start.sh script, which I slightly modified to make it work with a regular repository rather than with an enterprise.

Whene generating your GitHub PAT you will need to include `repo`, `workflow`, and `admin:org` permissions.