An image optimized for running github actions in a docker self-hosted runner
256
A docker image optimized for running shivammathur/setup-php actions in a docker self-hosted runner, but not limited to it. Custom docker images and services can be handled in the workflow as well
https://hub.docker.com/r/defstudio/github-runner
docker-compose.yml fileversion: '3.5'
services:
runner:
image: defstudio/github-runner:latest
restart: unless-stopped
environment:
ACCESS_TOKEN: "${ACCESS_TOKEN}"
RUNNER_NAME_PREFIX: "${RUNNER_NAME_PREFIX}"
ORG: "${ORG_NAME}"
LABELS: "${LABELS}"
security_opt:
- label:disable
volumes:
- '/var/run/docker.sock:/var/run/docker.sock'
.env file to store settingsACCESS_TOKEN=<TOKEN>
RUNNER_NAME_PREFIX=runner
ORG_NAME=def-studio
LABELS=linux,self-hosted
docker-compose up -d
docker-compose up -d --scale runner=5
Please review our security policy on how to report security vulnerabilities.
The MIT License (MIT). Please see License File for more information.
Content type
Image
Digest
Size
824.7 MB
Last updated
over 4 years ago
docker pull defstudio/github-runner