Skip to content

moveyourdigital/docker-swarm-github-actions-runner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub Actions self-hosted Docker Swarm runner

This Docker image runs a self-hosted GitHub Actions Runner.

Note: this image starts up ephemeral runners so they get deregistered after each job finishes.

Usage

  1. Clone this repository
  2. Copy .env.example to .env
  3. Fill up ORGANIZATION with your organization name
  4. Get a GitHub access token
  5. Create a secret access-token (or whatever) with your newly created token
  6. Point ACCESS_TOKEN_FILE to the secret path /run/secrets/access-token
  7. Run

If you wish to run it locally, use docker compose and create a file named access-token in the root of this project with the token in it.

About

Run GitHub Actions in as a Docker Swarm Service

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published