install scripts for self-hosted runner
git clone https://github.com/Nuwa-genomics/Github_runner.git
cd Install_scripts
sudo chmod +x dockerconf.sh
sudo ./dockerconf.sh
Important
Add the user to the docker group
.env
REPO=Nuwa-genomics/Nuwa
TOKEN=<Your-token-here>
RUNNER_VERSION="2.314.1"
DEBIAN_FRONTEND=noninteractive
USER=<Your-linux-user>
Important
Remember to add your token and linux username!
Now activate
export $(cat .env | xargs) && env
sudo ./install.sh
This will let you create a name for your runner, work directory and tags.
./configure
sudo /home/$USER/actions-runner/run.sh
Tip
Add the above to a crontab so it runs on reboot
cd Docker
docker-compose up -d --build