This repository contains a single Kubernetes deployment that registers a group of self-hosted Github Actions runners on Kubernetes. Based on the work from this repository.
- Make a copy of
deployment.yaml
. - Edit the environmental variables:
Variable | Description |
---|---|
GITHUB_ACCESS_TOKEN | Personal Access Token that is used to dynamically fetch a new runner token |
RUNNER_REPOSITORY_URL | The runner will be linked to this repository URL |
GITHUB_ACCESS_TOKEN
must have repo
access for repository level runners. Please see the following document for more configuration options
- Deploy to Kubernetes:
kubectl apply -f deployment.yaml
- Confirm that the self-hosted runners appear in GitHub: