-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AppendImage/Index #83
Comments
This was referenced Sep 26, 2024
dtrudg
added a commit
to dtrudg/oci-tools
that referenced
this issue
Sep 27, 2024
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 sylabs#83 Fixes sylabs#81
dtrudg
added a commit
to dtrudg/oci-tools
that referenced
this issue
Sep 27, 2024
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 sylabs#83 Fixes sylabs#81
dtrudg
added a commit
to dtrudg/oci-tools
that referenced
this issue
Sep 27, 2024
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 sylabs#83 Fixes sylabs#81
dtrudg
added a commit
to dtrudg/oci-tools
that referenced
this issue
Sep 27, 2024
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 sylabs#83 Fixes sylabs#81
dtrudg
added a commit
to dtrudg/oci-tools
that referenced
this issue
Sep 27, 2024
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 sylabs#83 Fixes sylabs#81
dtrudg
added a commit
to dtrudg/oci-tools
that referenced
this issue
Sep 27, 2024
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 sylabs#83 Fixes sylabs#81
dtrudg
added a commit
to dtrudg/oci-tools
that referenced
this issue
Sep 27, 2024
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 sylabs#83 Fixes sylabs#81
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
After #80 we have a public
OCIFileImage
type that offers an interface for interacting with an OCI-SIF below that ofv1.ImageIndex
.The current
WriteImage
/WriteIndex
functions add the blobs for an Image / ImageIndex to an OCI-SIF, but do not update the rootIndex.Add
Append
functions for an image / index, which both write blobs and update the RootIndex.The functions should be patterned on those in ggcr's
layout.Path
.The text was updated successfully, but these errors were encountered: