volume passthrough
This commit is contained in:
parent
7cdc4b29ef
commit
8ffc797b1f
1 changed files with 3 additions and 2 deletions
|
@ -64,7 +64,7 @@ container:
|
|||
# Whether to use privileged mode or not when launching task containers (privileged mode is required for Docker-in-D>
|
||||
privileged: false
|
||||
# And other options to be used when the container is started (eg, --add-host=my.forgejo.url:host-gateway).
|
||||
options: '-v /artifacts:/artifacts'
|
||||
options: '--volume /artifacts:/artifacts'
|
||||
# The parent directory of a job's working directory.
|
||||
# If it's empty, /workspace will be used.
|
||||
workdir_parent:
|
||||
|
@ -77,7 +77,8 @@ container:
|
|||
# If you want to allow any volume, please use the following configuration:
|
||||
# valid_volumes:
|
||||
# - '**'
|
||||
valid_volumes: []
|
||||
valid_volumes:
|
||||
- '**'
|
||||
# overrides the docker client host with the specified one.
|
||||
# If it's empty, act_runner will find an available docker host automatically.
|
||||
# If it's "-", act_runner will find an available docker host automatically, but the docker host won't be mounted to>
|
||||
|
|
Loading…
Reference in a new issue