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>
875 B
875 B
docker buildx policy eval
Evaluate policy for a source
Options
| Name | Type | Default | Description |
|---|---|---|---|
--builder |
string |
Override the configured builder instance | |
-D, --debug |
bool |
Enable debug logging | |
--fields |
stringSlice |
Fields to evaluate | |
-f, --file |
string |
Dockerfile |
Policy filename to evaluate |
--platform |
string |
Target platform for policy evaluation | |
--print |
bool |
Print policy output |