Skip to content

VladyslavAtom/github-actions-runner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub Actions Runner with Docker Compose

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.

Prerequisites

  • Docker installed on your system
  • Docker Compose installed
  • Docker Sysbox installed

Setup

Important Notes

  • REG_TOKEN should be obtained every time we rebuild the container

Usage

  • change runs-on: to self-hosted in 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

About

Self-hosted GitHub Actions runner setup

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors