Skip to content

Latest commit

 

History

History
32 lines (25 loc) · 1017 Bytes

README.md

File metadata and controls

32 lines (25 loc) · 1017 Bytes

GitHub Actions Runner

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

Usage

Here is an example compose file with scaling:

version: '2.4'

services:
  github-actions:
    environment:
      ACCESS_TOKEN: ${GITHUB_ACTIONS_ACCESS_TOKEN}
      ORG_NAME: ${GITHUB_ACTIONS_ORG_NAME}
      ORG_RUNNER: 'true'
      RUNNER_NAME: ${GITHUB_ACTIONS_RUNNER_NAME}
      RUNNER_WORKDIR: ${PWD}/_work
    image: interaction/github-actions-runner
    restart: always
    scale: ${GITHUB_ACTIONS_SCALE:-2}
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
      - ${PWD}/_work:${PWD}/_work