Skip to content

vhs/gh-actions-runner-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gh-actions-runner-docker

A wafer-thin mint entrypoint wrapper for the official self-hosted GitHub Actions Runners Docker image.

Usage

Environment Variables

Variables Description
GH_URI The short form GitHub id.
I.e. vhs as an org or vhs/tacos for a specific repository.
GH_REG_TOKEN The GitHub runner registration token.

Docker

Example: docker run -d -e GH_URI=vhs -e GH_REG_TOKEN=RANDOMTOKENSTRING ghcr.io/vhs/gh-actions-runner-docker:latest

Docker Compose

Example compose configuration:

services:
  runner:
    image: ghcr.io/vhs/gh-actions-runner-docker:latest
    restart: always
    env_file:
      - runners.env
    deploy:
      mode: replicated
      replicas: 4
      resources:
        limits:
          cpus: '0.35'
          memory: 300M
        reservations:
          cpus: '0.25'
          memory: 128M

Example runners.env file:

GH_URI=vhs
GH_REG_TOKEN=RANDOMTOKENSTRING

Acknowledgements

Entrypoint script derived from work by Alessandro Baccini.

https://github.com/beikeni/github-runner-dockerfile/LICENSE

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages