| title |
rootform publish policy-packs |
| description |
Publish a verified Policy Pack registry layout |
Publish a verified Policy Pack registry layout.
rootform publish policy-packs <layout> [options]
| Flag |
Type |
Default |
Description |
--dry-run |
bool |
false |
report the verified publication plan without network access |
--format |
string |
"" |
output format: text|json; default: text |
--to |
string |
"" |
publish to the tagless OCI repository |
| Flag |
Type |
Default |
Description |
-h, --help |
bool |
false |
show how to use rootform publish policy-packs |
--color |
mode |
auto |
color human output: auto|always|never; default: auto |
--no-pager |
bool |
false |
print a long report in full instead of opening it in less |
Validate an existing local Policy Pack registry layout, publish every
Policy Pack to one registry repository, and repull each manifest by
digest. Policy Packs are published exactly as selected. Dry-run remains
offline.
The text or JSON result goes to standard output. Diagnostics go to
standard error.
| Status |
Description |
0 |
publication or dry-run verification completed |
1 |
the registry layout is invalid |
2 |
the command was used incorrectly |
4 |
the layout could not be read, or registry publication or verification failed |
rootform publish policy-packs ./oci --to registry.example.com/acme/policies
rootform publish policy-packs ./oci --to localhost:5000/acme/policies
rootform publish policy-packs ./oci --to registry.example.com/acme/policies \
--dry-run --format json