actions: verify runner config options for the container
- is not restricted to --volume (can use --env, etc.) - --volume is sanitized with valid_volumes
This commit is contained in:
parent
d9edb00c72
commit
f6f0acae0e
5 changed files with 47 additions and 1 deletions
12
actions/example-config-options/.forgejo/workflows/test.yml
Normal file
12
actions/example-config-options/.forgejo/workflows/test.yml
Normal file
|
@ -0,0 +1,12 @@
|
|||
on: [push]
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: docker
|
||||
steps:
|
||||
- run: |
|
||||
test -f /srv/example-config-options-volume-valid
|
||||
- run: |
|
||||
! test -f /srv/example-config-options-volume-invalid
|
||||
- run: |
|
||||
test "$FROB" = "NITZ"
|
Loading…
Add table
Reference in a new issue