All checks were successful
Build Container / build (push) Successful in 41s
The act_runner config uses runner.envs for job environment variables, not container.env which doesn't exist. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
23 lines
552 B
YAML
23 lines
552 B
YAML
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: forgejo-runner-config
|
|
namespace: forgejo-runner
|
|
data:
|
|
config.yaml: |
|
|
log:
|
|
level: info
|
|
|
|
runner:
|
|
file: /data/.runner
|
|
capacity: 2
|
|
timeout: 3h
|
|
# Set DOCKER_HOST in job containers so they can run docker commands
|
|
envs:
|
|
DOCKER_HOST: tcp://127.0.0.1:2375
|
|
|
|
container:
|
|
# Use our custom job execution image with Node.js + Docker CLI
|
|
network: "host"
|
|
# Connect to DinD sidecar via TCP (not socket)
|
|
docker_host: tcp://127.0.0.1:2375
|