Skip to content

Commit

Permalink
Merge pull request myoung34#76 from Mongey/patch-1
Browse files Browse the repository at this point in the history
Update nomad example
  • Loading branch information
myoung34 authored Dec 18, 2020
2 parents 8e534f1 + 046e328 commit 54d513c
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ job "github_runner" {
env {
ACCESS_TOKEN = "footoken"
RUNNER_NAME_PREFIX = "myrunner" \
RUNNER_NAME_PREFIX = "myrunner"
RUNNER_WORKDIR = "/tmp/github-runner-your-repo"
RUNNER_GROUP = "my-group"
ORG_RUNNER = "true"
Expand All @@ -137,8 +137,11 @@ job "github_runner" {
}
config {
privileged = true
image = "myoung34/github-runner:latest"
privileged = true
userns_mode = "host"
volumes = [
"/var/run/docker.sock:/var/run/docker.sock",
"/tmp/github-runner-your-repo:/tmp/github-runner-your-repo",
Expand Down

0 comments on commit 54d513c

Please sign in to comment.