Skip to content

Instantly share code, notes, and snippets.

@prasetyowira
Last active June 11, 2021 03:01
Show Gist options
  • Save prasetyowira/cc58e4431b6f0647e7e4869abb4eb5e4 to your computer and use it in GitHub Desktop.
Save prasetyowira/cc58e4431b6f0647e7e4869abb4eb5e4 to your computer and use it in GitHub Desktop.
github runner
version: '2.3'
services:
worker:
image: myoung34/github-runner:latest
environment:
ORG_NAME: octolab
RUNNER_NAME: do-runner
RUNNER_TOKEN: someGithubTokenHere
RUNNER_WORKDIR: /home/github/runner/work
RUNNER_GROUP: self-hosted
RUNNER_SCOPE: 'org'
LABELS: linux,x64,gpu
security_opt:
- label:disable
volumes:
- '/var/run/docker.sock:/var/run/docker.sock'
- '/home/github/runner/work:/home/github/runner/work'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment