Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 1.1 KB

README.md

File metadata and controls

25 lines (16 loc) · 1.1 KB

Kubernetes Github Runner

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.

Installation

  1. Make a copy of deployment.yaml.
  2. 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

  1. Deploy to Kubernetes:
kubectl apply -f deployment.yaml
  1. Confirm that the self-hosted runners appear in GitHub: