policy: support reading policy from stdin via --file -
Allow passing policy content through stdin by specifying "--file -" in the eval command. This enables piping policy data without requiring a file on disk. Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
This commit is contained in:
@@ -10,7 +10,8 @@ Evaluate policy for a source
|
||||
| `--builder` | `string` | | Override the configured builder instance |
|
||||
| `-D`, `--debug` | `bool` | | Enable debug logging |
|
||||
| `--fields` | `stringSlice` | | Fields to evaluate |
|
||||
| `--filename` | `string` | `Dockerfile` | Policy filename to evaluate |
|
||||
| `-f`, `--file` | `string` | `Dockerfile` | Policy filename to evaluate |
|
||||
| `--platform` | `string` | | Target platform for policy evaluation |
|
||||
| `--print` | `bool` | | Print policy output |
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user