Initial commit
Signed-off-by: Vasiliy Doylov <nekocwd@mainlining.org>
This commit is contained in:
commit
ec134e6835
6 changed files with 49 additions and 0 deletions
8
setup-runner
Executable file
8
setup-runner
Executable 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
|
Loading…
Add table
Add a link
Reference in a new issue