Fix ephermal

This commit is contained in:
2025-11-24 22:22:16 +01:00
parent 5ffa61c28c
commit 6822637982
2 changed files with 3 additions and 2 deletions

View File

@@ -4,7 +4,7 @@ echo "Connecting to ${GITEA_INSTANCE_URL}"
if ! test -f .runner; then
echo "No .runner file detected, running registration"
/app/act_runner register --instance "${GITEA_INSTANCE_URL}" --token "${GITEA_RUNNER_REGISTRATION_TOKEN}" --name "${GITEA_RUNNER_NAME}" --labels "${GITEA_RUNNER_LABELS}" --no-interactive
/app/act_runner register --instance "${GITEA_INSTANCE_URL}" --token "${GITEA_RUNNER_REGISTRATION_TOKEN}" --name "${GITEA_RUNNER_NAME}" --labels "${GITEA_RUNNER_LABELS}" --no-interactive --ephemeral
touch /.runner
fi