feat: Add docker-network input param (#853)

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
This commit is contained in:
Taras 2024-07-01 10:15:33 +01:00 committed by GitHub
parent f9e5140430
commit c928c7fe82
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 21 additions and 0 deletions

View file

@ -12,6 +12,7 @@ GitHub Action to run Renovate self-hosted.
- [Options](#options)
- [`configurationFile`](#configurationfile)
- [`docker-cmd-file`](#docker-cmd-file)
- [`docker-network`](#docker-network)
- [`docker-user`](#docker-user)
- [`docker-volumes`](#docker-volumes)
- [`env-regex`](#env-regex)
@ -105,6 +106,13 @@ jobs:
token: ${{ secrets.RENOVATE_TOKEN }}
```
### `docker-network`
Specify a network to run container in.
You can use `${{ job.container.network }}` to run renovate container [in the same network as other containers for this job](https://docs.github.com/en/actions/learn-github-actions/contexts#job-context),
or set it to `host` to run in the same network as github runner, or specify any custom network.
### `docker-user`
Specify a user (or user-id) to run docker command.