Skip to content

Commit

Permalink
Added chapter about proxy support
Browse files Browse the repository at this point in the history
  • Loading branch information
jensbaitingerbosch authored Jan 7, 2022
1 parent 111dfab commit c7c7a89
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -374,3 +374,16 @@ RUNNER_WORKDIR=/tmp/runner/work
LABELS=any-custom-labels-go-here
EPHEMERAL=true
```

## Proxy Support

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.
Note: The `http://` as prefix is required by the GitHub Runner.

```shell
docker run -d --restart always --name github-runner \
-e https_proxy="http://myproxy:3128" \
-e http_proxy="http://myproxy:3128" \
-e RUNNER_NAME_PREFIX="myrunner" \
# ...
myoung34/github-runner:latest

0 comments on commit c7c7a89

Please sign in to comment.