Add init container to act-runner
This commit is contained in:
parent
b04723a77b
commit
99be722b27
|
@ -24,6 +24,10 @@ spec:
|
||||||
claimName: act-runner-vol
|
claimName: act-runner-vol
|
||||||
securityContext:
|
securityContext:
|
||||||
fsGroup: 1001
|
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:
|
containers:
|
||||||
- name: runner
|
- name: runner
|
||||||
image: gitea/act_runner:nightly-dind-rootless
|
image: gitea/act_runner:nightly-dind-rootless
|
||||||
|
|
Loading…
Reference in New Issue