This project sets up self-hosted GitHub Actions runners using Docker and Docker Compose. The runners are configured to connect to a specified GitHub repository and execute workflows.
- Docker installed on your system
- Docker Compose installed
- Docker Sysbox installed
- Clone the repository
- Fill in the
.envfile with your GitHub token from https://github.com/organizations/Atom-Cream/settings/actions/runners
- REG_TOKEN should be obtained every time we rebuild the container
- change
runs-on:toself-hostedin GitHub actions workflow - add cleanup steps to actions:
-
- name: Final cleanup if: always() run: | docker-compose -f ${{ env.COMPOSE_FILE }} down --volumes --remove-orphans || true