fix: use container.type=kubernetes and k8s:// labels for runner

This commit is contained in:
fchinembiri 2026-05-08 16:20:42 +02:00
parent c30bfbc89f
commit 088cf8ce91
1 changed files with 6 additions and 9 deletions

View File

@ -9,30 +9,27 @@ data:
level: info
runner:
file: .runner
capacity: 2
capacity: 4
timeout: 3h
fetch_timeout: 5s
fetch_interval: 2s
labels:
- "ubuntu-latest:docker://docker.gitea.com/runner-images:ubuntu-latest"
- "ubuntu-24.04:docker://docker.gitea.com/runner-images:ubuntu-24.04"
- "ubuntu-22.04:docker://docker.gitea.com/runner-images:ubuntu-22.04"
envs:
DOCKER_HOST: "tcp://localhost:2376"
DOCKER_CERT_PATH: "/certs/client"
DOCKER_TLS_VERIFY: "1"
- "ubuntu-latest:k8s://docker.gitea.com/runner-images:ubuntu-latest"
- "ubuntu-24.04:k8s://docker.gitea.com/runner-images:ubuntu-24.04"
- "ubuntu-22.04:k8s://docker.gitea.com/runner-images:ubuntu-22.04"
cache:
enabled: true
dir: ""
host: ""
port: 0
container:
backend: kubernetes
type: kubernetes
kubernetes:
namespace: geocrop
service_account_name: gitea-runner-sa
privileged: false
pull_policy: IfNotPresent
force_pull: true
valid_volumes:
- "/certs/client"