0
Fork 0
mirror of https://github.com/project-zot/zot.git synced 2025-02-03 23:09:41 -05:00
zot/pkg/extensions/sync
Ramkumar Chinchani cb2af94b0b
feat: add support for docker images (#2714)
* feat: add support for docker images

Issue #724

A new config section under "HTTP" called "Compat" is added which
currently takes a list of possible compatible legacy media-types.

https://github.com/opencontainers/image-spec/blob/main/media-types.md#compatibility-matrix

Only "docker2s2" (Docker Manifest V2 Schema V2) is currently supported.

Garbage collection also needs to be made aware of non-OCI compatible
layer types.
feat: add cve support for non-OCI compatible layer types

Signed-off-by: Ramkumar Chinchani <rchincha@cisco.com>

* 

Signed-off-by: Ramkumar Chinchani <rchincha@cisco.com>

* test: add more docker compat tests

Signed-off-by: Ramkumar Chinchani <rchincha@cisco.com>

* feat: add additional validation checks for non-OCI images

Signed-off-by: Ramkumar Chinchani <rchincha@cisco.com>

* ci: make "full" images docker-compatible

Signed-off-by: Ramkumar Chinchani <rchincha@cisco.com>

---------

Signed-off-by: Ramkumar Chinchani <rchincha@cisco.com>
2024-10-31 09:44:04 +02:00
..
constants fix(oras)!: remove ORAS artifact references support (#2294) 2024-03-06 12:16:42 -08:00
features fix(sync): sync generator now backs off on errors (#2272) 2024-03-04 09:44:11 -08:00
httpclient fix: enable TLS based on URL scheme for sync extension (#2747) 2024-10-29 09:40:24 +02:00
references ci(deps): upgrade golangci-lint (#2556) 2024-07-29 10:32:51 -07:00
content.go refactor: rename go module from zotregistry.io/zot to zotregistry.dev/zot (#2187) 2024-01-31 20:34:07 -08:00
content_internal_test.go ci(deps): upgrade golangci-lint (#2556) 2024-07-29 10:32:51 -07:00
destination.go feat: add support for docker images (#2714) 2024-10-31 09:44:04 +02:00
oci_layout.go Fix sync extension logging (#2537) 2024-07-15 10:30:43 -07:00
on_demand.go fix(sync): added bearer client for sync (#2222) 2024-02-14 09:18:10 -08:00
on_demand_disabled.go feat(scheduler): pass the shutdown/reload ctx to running tasks (#1671) 2023-09-05 09:48:56 -07:00
remote.go fix(sync): added bearer client for sync (#2222) 2024-02-14 09:18:10 -08:00
service.go ci(deps): upgrade golangci-lint (#2556) 2024-07-29 10:32:51 -07:00
sync.go ci(deps): upgrade golangci-lint (#2556) 2024-07-29 10:32:51 -07:00
sync_disabled_test.go refactor: rename go module from zotregistry.io/zot to zotregistry.dev/zot (#2187) 2024-01-31 20:34:07 -08:00
sync_internal_test.go feat: add support for docker images (#2714) 2024-10-31 09:44:04 +02:00
sync_test.go ci(deps): upgrade golangci-lint (#2556) 2024-07-29 10:32:51 -07:00
utils.go refactor: rename go module from zotregistry.io/zot to zotregistry.dev/zot (#2187) 2024-01-31 20:34:07 -08:00