Files
canopy-workloads/github_runner/app.yaml
T
kiskaadee 51445d4af1 feat(github_runner): author Nix-enabled ephemeral GitHub Actions runner stack (#11)
- .gitignore: ignore **/.env and **/app.env so runtime workload env files do not fail appctl clean-tree checks

- github_runner/Dockerfile & entrypoint-nix.sh: extend pinned myoung34/github-runner:ubuntu-noble with nixos/nix:2.24.12 seed, /etc/nix/nix.conf, non-root runner ownership, and single-line APP_PRIVATE_KEY_B64 decoding

- github_runner/docker-compose.yml: configure EPHEMERAL=true, RUN_AS_ROOT=false, DISABLE_AUTO_UPDATE=true, RUNNER_WORKDIR=/data/work, ../../var/lib/homelab/github_runner:/data, nix-store:/nix, and omit proxy-net for network isolation

- github_runner/app.yaml, .env-example, README.md & deployments.yaml: register github_runner (alias gh-runner) in admission registry and document GitHub App org permissions
2026-11-23 16:36:12 -05:00

18 lines
321 B
YAML

schemaVersion: "1.0"
name: "github_runner"
aliases:
- "gh-runner"
domain: "internal"
description: "Ephemeral Nix-enabled GitHub Actions Self-Hosted Runner"
visible: false
auth: false
networks:
- default
deployment:
strategy: "compose"
branch: "main"
actions:
- git_pull
- compose_build
- compose_up