Skip to content

Commit 46259e4

Browse files
authored
Merge pull request #171 from jensbaitingerbosch/patch-2
Added chapter about proxy support
2 parents 111dfab + c7c7a89 commit 46259e4

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -374,3 +374,16 @@ RUNNER_WORKDIR=/tmp/runner/work
374374
LABELS=any-custom-labels-go-here
375375
EPHEMERAL=true
376376
```
377+
378+
## Proxy Support
379+
380+
To run the github runners behind a proxy, you need to pass the [proxy parameters required for the GitHub Runner](https://docs.github.com/en/actions/hosting-your-own-runners/using-a-proxy-server-with-self-hosted-runners) as environment variables.
381+
Note: The `http://` as prefix is required by the GitHub Runner.
382+
383+
```shell
384+
docker run -d --restart always --name github-runner \
385+
-e https_proxy="http://myproxy:3128" \
386+
-e http_proxy="http://myproxy:3128" \
387+
-e RUNNER_NAME_PREFIX="myrunner" \
388+
# ...
389+
myoung34/github-runner:latest

0 commit comments

Comments
 (0)