This commit is contained in:
2024-08-03 18:33:21 +02:00
parent c2166f67cf
commit d4f7b59ea0
4 changed files with 22 additions and 10 deletions

View File

@ -0,0 +1,10 @@
#!/bin/sh
if ! (docker ps >/dev/null 2>&1)
then
echo "Le daemon docker n'est pas en cours d'exécution, sortie !"
exit
fi
echo "Préparation de l'init du dossier et création ./init/initdb.sql"
docker run -e GITEA_INSTANCE_URL=https://gitea.traefik.me -e GITEA_RUNNER_REGISTRATION_TOKEN=<your_token> -v /var/run/docker.sock:/var/run/docker.sock --name my_runner gitea/act_runner:nightly