Remove --user 1000:1000 option to allow workflow containers to run as root. This is needed for the Docker CLI installation step which requires root permissions for apt-get commands. Co-Authored-By: Paperclip <noreply@paperclip.ing>
23 lines
460 B
YAML
23 lines
460 B
YAML
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: forgejo-runner-config
|
|
namespace: forgejo
|
|
data:
|
|
config.yaml: |
|
|
log:
|
|
level: info
|
|
runner:
|
|
name: k3s-runner-1
|
|
capacity: 2
|
|
labels:
|
|
- "ubuntu-latest:docker://node:24-bookworm"
|
|
- "ubuntu-22.04:docker://node:24-bookworm"
|
|
timeout: 3h
|
|
cache:
|
|
enabled: true
|
|
dir: /data/cache
|
|
container:
|
|
network: host
|
|
privileged: false
|
|
options:
|