Last active
June 11, 2021 03:01
-
-
Save prasetyowira/cc58e4431b6f0647e7e4869abb4eb5e4 to your computer and use it in GitHub Desktop.
github runner
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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