Skip to content

Commit

Permalink
add zstd-compressed layers support
Browse files Browse the repository at this point in the history
go-containerregistry supports zstd-compressed layers since v0.13.0,
this enables it.

Signed-off-by: Pinghao Wu <[email protected]>
Signed-off-by: Alex Goodman <[email protected]>
  • Loading branch information
xdavidwu authored and wagoodman committed Jul 24, 2023
1 parent cd49355 commit 927a146
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/image/layer.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ func (l *Layer) Read(catalog *FileCatalog, imgMetadata Metadata, idx int, uncomp
types.OCIUncompressedLayer,
types.OCIRestrictedLayer,
types.OCIUncompressedRestrictedLayer,
types.OCILayerZStd,
types.DockerLayer,
types.DockerForeignLayer,
types.DockerUncompressedLayer:
Expand Down

0 comments on commit 927a146

Please sign in to comment.