-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: AppendImage/Index with optional name.Reference
Adds `f.AppendImage` and `f.AppendIndex`, which append a `v1.Image` or a `v1.ImageIndex` to the SIF, respectively. The `OptAppendReference` functional option can be used to provide a `name.Reference` that will be stored as an annotation against the new descriptor in the RootIndex, with the key `org.opencontainers.image.ref.name`, as is convention for associating references with items stored in an OCI layout. Fixes #83 Fixes #81
- Loading branch information
Showing
1 changed file
with
68 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters