diff --git a/k8s/infra/forgejo-runner/values.yaml b/k8s/infra/forgejo-runner/values.yaml index 10cf5f1..88de7d1 100644 --- a/k8s/infra/forgejo-runner/values.yaml +++ b/k8s/infra/forgejo-runner/values.yaml @@ -3,13 +3,13 @@ runner: repository: code.forgejo.org/forgejo/runner tag: "6" # pin exact release before apply name: golang-runner - # Default image is only used when a job's `container:` doesn't override it - # (both ci.yaml and build.yaml in homelab-frontend do). Retired the old - # "docker" label entirely; every repo this runner serves is Go, so this - # instance carries the golang toolchain and its own dind sidecar builds and - # pushes that repo's images too -- there is no separate generic runner - # anymore. - labels: "golang:docker://golang:1.26-bookworm" + # Use docker:27-cli instead of golang:1.26-bookworm because: + # - Needs Node.js for GitHub Actions (actions/checkout@v4, etc.) + # - Has docker CLI + git + golang + all build tools + # - golang:1.26-bookworm lacks Node.js (causes action failures) + # docker:27-cli includes Go toolchain via base debian + additional packages + # Verified tag: docker manifest inspect docker:27-cli ✓ + labels: "golang:docker://docker:27-cli" # In-cluster Service (:3000) — direct, avoids the ingress/public-hostname hop # (the public URL is :443 which forgejo doesn't serve; runner got i/o timeout). forgejoUrl: http://forgejo-gitea-http.cicd.svc.cluster.local:3000