Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
myoung34 authored Feb 6, 2020
1 parent efdec6a commit f0a62e3
Showing 1 changed file with 36 additions and 1 deletion.
37 changes: 36 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ job "github_runner" {
driver = "docker"
env {
REPO_URL = "https://github.com/myoung34/LEDSpicer"
REPO_URL = "https://github.com/your-account/your-repo"
RUNNER_TOKEN = "footoken"
}
Expand All @@ -60,6 +60,41 @@ job "github_runner" {
}
```

Kubernetes:

```
apiVersion: apps/v1
kind: Deployment
metadata:
name: actions-runner
namespace: runners
spec:
replicas: 1
selector:
matchLabels:
app: actions-runner
template:
metadata:
labels:
app: actions-runner
spec:
volumes:
- name: dockersock
hostPath:
path: /var/run/docker.sock
containers:
- name: runner
image: myoung34/github-runner:latest
env:
- name: RUNNER_TOKEN
value: footoken
- name: REPO_URL
value: https://github.com/your-account/your-repo
volumeMounts:
- name: dockersock
mountPath: /var/run/docker.sock
```

## Usage ##

```
Expand Down

0 comments on commit f0a62e3

Please sign in to comment.