Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion proxy/extractor.go
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ func (ex *Extractor) SaveToC() (res *ApiResponse, err error) {
return nil, errors.Wrapf(err, "failed to cache ToC")
}

if desc.MediaType == types.DockerManifestSchema2 {
if desc.MediaType == types.DockerManifestSchema2 || desc.MediaType == types.OCIManifestSchema1 {
// single manifest image
// "application/vnd.docker.distribution.manifest.v2+json"

Expand Down
2 changes: 1 addition & 1 deletion util/convertor.go
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ func (c *Convertor) ToStarlightImage() (err error) {
return errors.Wrapf(err, "failed to read image")
}

if imgDesc.MediaType == types.DockerManifestSchema2 {
if imgDesc.MediaType == types.DockerManifestSchema2 || imgDesc.MediaType == types.OCIManifestSchema1 {
// single manifest image
// "application/vnd.docker.distribution.manifest.v2+json"
var (
Expand Down