An open API service indexing awesome lists of open source software.

https://github.com/peaceiris/actions-self-hosted-runners

GitHub Actions self-hosted runner on VirtualBox with Vagrant.
https://github.com/peaceiris/actions-self-hosted-runners

Last synced: about 1 year ago
JSON representation

GitHub Actions self-hosted runner on VirtualBox with Vagrant.

Awesome Lists containing this project

README

          

# actions-self-hosted-runners

[![CI](https://github.com/peaceiris/actions-self-hosted-runners/actions/workflows/ci.yml/badge.svg?event=push)](https://github.com/peaceiris/actions-self-hosted-runners/actions/workflows/ci.yml)

GitHub Actions self-hosted runner on VirtualBox with Vagrant.

- [actions/runner](https://github.com/actions/runner): The Runner for GitHub Actions
- [actions/virtual-environments](https://github.com/actions/virtual-environments): GitHub Actions virtual environments

## Getting Started

```sh
git clone https://github.com/peaceiris/actions-self-hosted-runners.git
cd ./actions-self-hosted-runners/images/ubuntu
cat << EOF > .env
GHA_RUNNER_VERSION = 'x.xxx.x'
VB_CPUS = '4'
VB_MEMORY = '8192'
VB_DISK_SIZE = '30GB'
EOF
make up
vagrant ssh
cd actions-runner
./config.sh --url https://github.com/[owner]/[repo] --token [token]
nohup ./run.sh &
```