From 05e356bbf77449a248c931d01caf31546ff1b2e1 Mon Sep 17 00:00:00 2001 From: Christian Richter Date: Tue, 7 Sep 2021 16:07:36 +0200 Subject: [PATCH] Try loop to fix update bug Signed-off-by: Christian Richter --- ghrunner/entrypoint.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ghrunner/entrypoint.sh b/ghrunner/entrypoint.sh index 52361e8..295c1d8 100755 --- a/ghrunner/entrypoint.sh +++ b/ghrunner/entrypoint.sh @@ -25,4 +25,6 @@ echo "${CHECKSUM} ${FILE}" | shasum -a 256 -c tar xzf ./${FILE} ./bin/installdependencies.sh su runner -c "./config.sh --unattended --url https://github.com/${ORG}/${REPO} --token ${TOKEN} --name docker-runner-$(hostname) --labels=${ARCH},${OS},self-hosted" -su runner -c "./run.sh" +while true; do + su runner -c "./run.sh" +done