Add init container to act-runner

This commit is contained in:
Mathis 2024-01-18 18:43:06 +00:00
parent b04723a77b
commit 99be722b27
1 changed files with 4 additions and 0 deletions

View File

@ -24,6 +24,10 @@ spec:
claimName: act-runner-vol
securityContext:
fsGroup: 1001
initContainers:
- name: wait-for-gitea
image: busybox:1.28
command: ['sh', '-c', "until wget https://git.namesny.com 2>/dev/null; do echo waiting for gitea; sleep 2; done"]
containers:
- name: runner
image: gitea/act_runner:nightly-dind-rootless