Initial commit

Signed-off-by: Vasiliy Doylov <nekocwd@mainlining.org>
This commit is contained in:
Vasiliy Doylov 2025-06-06 22:35:31 +03:00
commit ec134e6835
Signed by: NekoCWD
GPG key ID: B7BE22D44474A582
6 changed files with 49 additions and 0 deletions

8
setup-runner Executable file
View file

@ -0,0 +1,8 @@
#!/bin/sh
echo Starting runner...
if [ ! -e /conf/config.yaml ]; then
echo "Configuration not found. We need to create one"
forgejo-runner generate-config > /conf/config.yaml
forgejo-runner register -c /conf/config.yaml --no-interactive --instance $INSTANCE --labels $LABELS --name $NAME --token $TOKEN
fi
apk add nodejs git # For basic checkout action