- .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
10 lines
511 B
Plaintext
10 lines
511 B
Plaintext
# GitHub Actions Runner environment variables (injected at runtime; never commit real credentials)
|
|
GITHUB_RUNNER_NAME=homelab-github-runner
|
|
GITHUB_RUNNER_SCOPE=org
|
|
GITHUB_RUNNER_ORG_NAME=replace-with-github-org
|
|
GITHUB_RUNNER_APP_ID=replace-with-github-app-id
|
|
GITHUB_RUNNER_APP_LOGIN=replace-with-github-app-slug
|
|
# Single-line base64-encoded GitHub App PEM private key: base64 -w0 < private-key.pem
|
|
GITHUB_RUNNER_APP_PRIVATE_KEY_B64=replace-with-base64-encoded-pem
|
|
GITHUB_RUNNER_LABELS=self-hosted,linux,x64,nix
|