{"repo":"kevmo314/docker-gha-runner","free":true,"listed":false,"github":"https://github.com/kevmo314/docker-gha-runner","clone":"git clone https://github.com/kevmo314/docker-gha-runner.git","description":"Simple self-hosted GitHub Actions Runners","language":"Dockerfile","stars":27,"topics":["ci","cicd","docker","github-actions","self-hosted"],"license":"Apache-2.0","category":"deployment-docker-iac","readme_excerpt":"docker-gha-runner A dead-simple way to add GitHub Actions Runners to your account. Motivation I kept getting annoyed by how the GitHub Actions runner script is sort of stateful and has access to the surrounding environment. What I really want is the exact same as the GitHub Actions default runner but self-host it. This is in that direction. The actions container is torn down and restarted when the action ends, therefore it's stateless like the default runner. Additionally, if you have a powerful machine available to you and want to use that as a runner so you don't have to pay for a third- party service to use what resources you already have available. Features Stateless execution Container isolation Self-host it wherever you want Architecture emulation via QEMU Limitations There's no dispatching layer so you'll pay more than something like runs-on if that's your jam. Usage with Docker Parameters Bring up the container, setting ACCESS TOKEN and REPOSITORY . REPOSITORY is the organization and repository name only. ACCESS TOKEN is a personal access token generated in your GitHub settings (Classic). Parameters - Examples Repository Authentication Full command Once it's running, check out your runners page: You can then update your GitHub Actions workflows: Usage with Docker Compose Using docker compose allows some additional cool features such as adding replicas. Create a docker-compose.yml Then Platform Emulation If you want to emulate a different platform (such as an arm64 mac","default_branch":null,"files":null,"tree":[],"storefront":"/r/kevmo314","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/kevmo314/docker-gha-runner/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}