diff --git a/apps/gitea/runner-deployment.yaml b/apps/gitea/runner-deployment.yaml index 7d19496..63abeb0 100755 --- a/apps/gitea/runner-deployment.yaml +++ b/apps/gitea/runner-deployment.yaml @@ -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