actions-self-hosted-runners
actions-self-hosted-runners copied to clipboard
GitHub Actions self-hosted runner on VirtualBox with Vagrant.
actions-self-hosted-runners
GitHub Actions self-hosted runner on VirtualBox with Vagrant.
- actions/runner: The Runner for GitHub Actions
- actions/virtual-environments: GitHub Actions virtual environments
Getting Started
git clone https://github.com/peaceiris/actions-self-hosted-runners.git
cd ./actions-self-hosted-runners/images/ubuntu-20.04
vim .env
make up
vagrant ssh
cd actions-runner
./config.sh --url https://github.com/[owner]/[repo] --token [token]
nohup ./run.sh &
Create .env
file as follows.
GHA_RUNNER_VERSION = 'x.xxx.x'
VB_CPUS = '4'
VB_MEMORY = '8192'
VB_DISK_SIZE = '30GB'