fix(forgejo): add docker-ready runner label
This commit is contained in:
parent
0aa349ee20
commit
f8df863f8a
1 changed files with 14 additions and 1 deletions
|
|
@ -53,6 +53,10 @@ spec:
|
|||
volumeMounts:
|
||||
- name: dind-storage
|
||||
mountPath: /var/lib/docker
|
||||
- name: registry-docker-config
|
||||
mountPath: /root/.docker/config.json
|
||||
subPath: config.json
|
||||
readOnly: true
|
||||
resources:
|
||||
requests:
|
||||
cpu: 250m
|
||||
|
|
@ -77,7 +81,13 @@ spec:
|
|||
fieldRef:
|
||||
fieldPath: spec.nodeName
|
||||
- name: FORGEJO_RUNNER_LABELS
|
||||
value: "self-hosted:docker://ghcr.io/catthehacker/ubuntu:act-latest,linux:docker://ghcr.io/catthehacker/ubuntu:act-latest,ubuntu-latest:docker://ghcr.io/catthehacker/ubuntu:act-latest,ubuntu-22.04:docker://ghcr.io/catthehacker/ubuntu:act-latest,ubuntu-24.04:docker://ghcr.io/catthehacker/ubuntu:act-latest,debian-12:docker://ghcr.io/catthehacker/ubuntu:act-latest"
|
||||
value: "self-hosted:docker://ghcr.io/catthehacker/ubuntu:act-latest,linux:docker://ghcr.io/catthehacker/ubuntu:act-latest,ubuntu-latest:docker://ghcr.io/catthehacker/ubuntu:act-latest,ubuntu-22.04:docker://ghcr.io/catthehacker/ubuntu:act-latest,ubuntu-24.04:docker://ghcr.io/catthehacker/ubuntu:act-latest,debian-12:docker://ghcr.io/catthehacker/ubuntu:act-latest,docker-ready:docker://ghcr.io/catthehacker/ubuntu:act-latest"
|
||||
- name: REGISTRY_HOSTPORT
|
||||
value: "registry.nxtgauge.com"
|
||||
- name: REGISTRY_USERNAME
|
||||
value: "admin"
|
||||
- name: REGISTRY_PASSWORD
|
||||
value: "Ashwin@2026"
|
||||
volumeMounts:
|
||||
- name: runner-config
|
||||
mountPath: /data
|
||||
|
|
@ -126,6 +136,9 @@ spec:
|
|||
type: DirectoryOrCreate
|
||||
- name: dind-storage
|
||||
emptyDir: {}
|
||||
- name: registry-docker-config
|
||||
secret:
|
||||
secretName: registry-docker-config
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue