apiVersion: apps/v1 kind: Deployment metadata: name: gitea-runner namespace: gitea labels: app: gitea-runner spec: replicas: 1 selector: matchLabels: app: gitea-runner template: metadata: labels: app: gitea-runner spec: restartPolicy: Always volumes: - name: docker-certs emptyDir: {} - name: runner-data emptyDir: {} containers: - name: runner image: gitea/act_runner:latest imagePullPolicy: IfNotPresent command: ["sh", "-c", "while ! nc -z localhost 2376