add gitea actions

This commit is contained in:
2024-05-02 17:12:43 +02:00
parent 198b24132e
commit 39818887fa
3 changed files with 56 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: actions-runner
spec:
selector:
matchLabels:
app: actions-runner
template:
metadata:
labels:
app: actions-runner
spec:
containers:
- name: actions-runner
image: actions-runner
securityContext:
privileged: true # Add this line to allow running Docker
resources:
requests:
memory: "128Mi"
cpu: "500m"
limits:
memory: "256Mi"
cpu: "1000m"
env:
- name: GITEA_INSTANCE_URL
value: "https://git.kluster.moll.re"
- name: GITEA_RUNNER_TOKEN
valueFrom:
secretKeyRef:
name: actions-runner-secret
key: runner-token