0
0
Fork 0
mirror of https://codeberg.org/forgejo/docs.git synced 2024-11-21 17:36:59 -05:00

user: actions: s/options/container.options/

This commit is contained in:
Earl Warren 2023-11-11 01:27:05 +01:00 committed by Earl Warren
parent 9c0d4b25e5
commit 44079f17a4

View file

@ -450,9 +450,9 @@ The `runs-on: self-hosted` label will run the jobs directly on the host, in a sh
image: debian:bookworm
```
### `jobs.<job_id>.options`
### `jobs.<job_id>.container.options`
A string of additional options, as documented [docker run](https://docs.docker.com/engine/reference/commandline/run/). For instance: "--workdir /myworkdir --ulimit nofile=1024:1024".
A string of additional options, as documented in [docker run](https://docs.docker.com/engine/reference/commandline/run/). For instance: "--workdir /myworkdir --ulimit nofile=1024:1024".
> **NOTE:** the `--volume` option is restricted to a whitelist of volumes configured in the runner executing the task. See the [Forgejo Actions administrator guide](../../admin/actions/) for more information.