feat: add docker-socket-host-path input (#862)

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
This commit is contained in:
Mike Ryan 2024-09-30 06:24:25 -04:00 committed by GitHub
parent 669f02b0b3
commit c0afe86658
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 27 additions and 1 deletions

View file

@ -13,6 +13,7 @@ GitHub Action to run Renovate self-hosted.
- [`configurationFile`](#configurationfile)
- [`docker-cmd-file`](#docker-cmd-file)
- [`docker-network`](#docker-network)
- [`docker-socket-host-path`](#docker-socket-host-path)
- [`docker-user`](#docker-user)
- [`docker-volumes`](#docker-volumes)
- [`env-regex`](#env-regex)
@ -113,6 +114,12 @@ 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-socket-host-path`
Allows the overriding of the host path for the Docker socket that is mounted into the container.
Useful on systems where the host Docker socket is located somewhere other than `/var/run/docker.sock` (the default).
Only applicable when `mount-docker-socket` is true.
### `docker-user`
Specify a user (or user-id) to run docker command.