-
Notifications
You must be signed in to change notification settings - Fork 609
Open
Description
Description
Currently creating an image with an empty OCI base and setting labels requires two separate commands: crane append --oci-empty-base followed by crane mutate. This can be streamlined by allowing the --oci-empty-base flag to be used directly with crane mutate.
Current Workflow
crane append --oci-empty-base --new_layer image.tar --new_tag registry.example.com/<example>/<name>:<tag>crane mutate registry.example.com/<example>/<name>:<tag> --label <key>=<value>....
Purposed Workflow
crane mutate --oci-empty-base --append image.tar registry.example.com/<example>/<name>:<tag> --label <key>=<value>....
I'm would like to contribute to this effort and have a working sample of crane mutate with the --oci-empty-base flag added.
Benefits
- reduced number of registry interactions
- reduced number of commands to produce an oci artifact
Metadata
Metadata
Assignees
Labels
No labels