first commit

This commit is contained in:
2025-11-24 20:58:24 +01:00
commit f4521782be
4 changed files with 53 additions and 0 deletions

11
entrypoint.sh Normal file
View File

@@ -0,0 +1,11 @@
#!/bin/bash
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
touch /.runner
fi
/app/act_runner daemon