Skip to content

Latest commit

 

History

History
31 lines (23 loc) · 1.41 KB

README.md

File metadata and controls

31 lines (23 loc) · 1.41 KB

Build & Distribute GitHub Actions Runner Container

GitHub Actions Runner

This repository contains the definition of Peinser's self-hosted GitHub Actions Runner, which contains serveral utilities that we use frequently.

Helm

The values.yaml is provided to ease the installation of the GitHub runner on our Kubernetes platform. In particular, it relates to the installation processed described here. For completeness, we list the instructions that have to be executed in order to install this particular runner.

INSTALLATION_NAME="k8s-be-lanaken"
NAMESPACE="github-runners"
GITHUB_PAT="<PAT>"
helm install --update "${INSTALLATION_NAME}" \
    -f values.yaml \
    --namespace "${NAMESPACE}" \
    --set githubConfigSecret.github_token="${GITHUB_PAT}" \
    oci://ghcr.io/actions/actions-runner-controller-charts/gha-runner-scale-set

Note that, before configuring, a image pull secret has to be provided in order for the namespace to be able to download from harbor.peinser.com.

TODO

  • Do not use GitHub PAT. Use GitHub App instead.
  • Versioning of releases. Including builds to Harbor.