nem catalog mirror
Replicate a catalog and its archives to another registry.
Copy a catalog's index and every archive it references from <src> to <dst>, byte for byte, so that <dst> can be consumed as a catalog on its own. Re-running skips what is already present. Archives the source never published are not created; nem catalog fill adds them.
Usage
nem catalog mirror <src> <dst> [flags]Examples
nem catalog mirror ghcr.io/vi-dev/nem-catalog:v4 registry.corp.example/nem/catalog:v4 # copy
nem catalog mirror ghcr.io/vi-dev/nem-catalog:v4 registry.corp.example/nem/catalog:v4 --dry-run # the plan onlyFlags
| Flag | Description |
|---|---|
--dry-run | report the mirror plan without writing anything |
Global flags
--color, --narration, --quiet, and --verbose apply to every command; see nem.