Skip to content

marr-cloud/gh-runner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub Actions Runner

This image is an extension of myoung34/docker-github-actions-runner and ixc/github-actions-runner-docker that:

Usage

Here is an example compose file with scaling:

services:
  runner:
    image: runner
    restart: always
    environment:
      RUNNER_WORKDIR: /tmp/runners/work
      RUNNER_GROUP: default
      RUNNER_SCOPE: 'org'
      ACCESS_TOKEN: ghp_...
      ORG_NAME: OCTOPUS
      CONFIGURED_ACTIONS_RUNNER_FILES_DIR: /tmp/actions
      DISABLE_AUTOMATIC_DEREGISTRATION: true
      RANDOM_RUNNER_SUFFIX: false
      LABELS: ubuntu-latest
    security_opt:
      # needed on SELinux systems to allow docker container to manage other docker containers
      - label:disable
    volumes:
      - '/var/run/docker.sock:/var/run/docker.sock'
      - '/tmp/runners:/tmp/runners'
      - '/tmp/actions:/tmp/actions'
      # note: a quirk of docker-in-docker is that this path
      # needs to be the same path on host and inside the container,
      # docker management cmd´s run outside of docker but expect the paths from within

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors