mirror of
https://codeberg.org/forgejo/docs.git
synced 2025-02-01 03:35:03 -05:00
admin: runner-installation: update container.docker_host
description
The behaviour was changed in a non-backwards-compatible manner with
5.0.0 [0], and then further modified with the 5.0.3 release [1].
Mention that fact explicitly as an additional note, so that users know
how to configure it as needed based on their version.
The description in the example config is taken from upstream [2].
[0] https://code.forgejo.org/forgejo/runner/src/branch/main/RELEASE-NOTES.md#5-0-0
[1] https://code.forgejo.org/forgejo/runner/src/branch/main/RELEASE-NOTES.md#5-0-3
[2] https://code.forgejo.org/forgejo/runner/src/branch/main/internal/pkg/config/config.example.yaml
Signed-off-by: Christoph Heiss <christoph@c8h4.io>
(cherry picked from commit a23914b548
)
This commit is contained in:
parent
a0697d3c3d
commit
6eacf5c18f
1 changed files with 6 additions and 2 deletions
|
@ -220,8 +220,8 @@ container:
|
|||
# - '**'
|
||||
valid_volumes: []
|
||||
# overrides the docker client host with the specified one.
|
||||
# If "-", an available docker host will automatically be found.
|
||||
# If empty, an available docker host will automatically be found and mounted in the job container (e.g. /var/run/docker.sock).
|
||||
# If "-" or "", an available docker host will automatically be found.
|
||||
# If "automount", an available docker host will automatically be found and mounted in the job container (e.g. /var/run/docker.sock).
|
||||
# Otherwise the specified docker host will be used and an error will be returned if it doesn't work.
|
||||
docker_host: "-"
|
||||
# Pull docker image(s) even if already present
|
||||
|
@ -233,6 +233,10 @@ host:
|
|||
workdir_parent:
|
||||
```
|
||||
|
||||
Note: `container.docker_host = "automount"` is only available for
|
||||
forgejo-runner >= 5.0.3. For forgejo-runner < 5.0.3, it must be explicitly
|
||||
set to an empty string.
|
||||
|
||||
#### Cache configuration
|
||||
|
||||
Some actions such as https://data.forgejo.org/actions/cache or
|
||||
|
|
Loading…
Add table
Reference in a new issue