0
0
Fork 0
mirror of https://codeberg.org/forgejo/docs.git synced 2025-01-14 01:18:59 -05:00

user: actions: options are limited to --volume and --tmpfs

This commit is contained in:
Earl Warren 2024-12-27 13:12:39 +01:00
parent 3ff80d4b69
commit d50ee6513e
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00

View file

@ -218,7 +218,10 @@ A list of command and arguments, equivalent to [[COMMAND] [ARG...]](https://docs
### 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 the following additional options, as documented [docker run](https://docs.docker.com/engine/reference/commandline/run/).
- `--volume`
- `--tmpfs`
> **NOTE:** the `--volume` option is restricted to a allowlist of volumes configured in the runner executing the task. See the [Forgejo Actions administrator guide](../../admin/actions/) for more information.
@ -880,7 +883,10 @@ Set the volumes for the container to use, as if provided with the `--volume` arg
### `jobs.<job_id>.container.options`
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".
A string of the following additional options, as documented [docker run](https://docs.docker.com/engine/reference/commandline/run/).
- `--volume`
- `--tmpfs`
> **NOTE:** the `--volume` option is restricted to a allowlist of volumes configured in the runner executing the task. See the [Forgejo Actions administrator guide](../../admin/actions/) for more information.