nsc registry update-image-expiration updates the expiration of a single image that is stored in nscr.io. Once an image expires it can no longer be accessed and the underlying blobs are automatically deleted.
It is not possible to change the expiration of an image that already expired.
Usage
Examples
Options
—digest <digest>
The digest of the image to update, used together with--repository as an alternative to providing the image reference as a positional argument.
—ensure-minimum <duration>
How long the image should be available at least. If there’s currently an expiration set after the provided duration then the command will not do any change. The duration is specified as a string and valid time units are “ns”, “us” (or “µs”), “ms”, “s”, “m”, “h”.—expire-at <timestamp>
When the image should expire. This overwrites any previously configured expiration.—output, -o <format>
Output format. One oftable or json. Default is table.
—repository <name>
The repository name of the image to update, used together with--digest as an alternative to providing the image reference as a positional argument.