Skip to content

Latest commit

 

History

History
30 lines (25 loc) · 780 Bytes

README.md

File metadata and controls

30 lines (25 loc) · 780 Bytes

Github Actions Runner

Following arguments need to be parsed to the container:

  • REPO for the Repository e.g. simonhoellein/actions-runner
  • ACCESS_TOKEN for a Personal Access Token with access to repo, workflow, and admin:org scopes

Images: simonhoellein/actions-runner

Deploy this with Docker Compose:

services:
  actions-runner-ci:
    image: simonhoellein/actions-runner:latest
    restart: always
    environment:
      - REPO=[user/repository]
      - ACCESS_TOKEN=[Github Access Token]
    deploy:
      mode: replicated
      replicas: 2
      resources:
        limits:
          cpus: '0.35'
          memory: 300M
        reservations:
          cpus: '0.25'
          memory: 128M