0
Fork 0
mirror of https://github.com/project-zot/zot.git synced 2025-02-03 23:09:41 -05:00
zot/pkg
peusebiu 377aff1853
fix(sync): fixed skipping docker images when they already synced (#1521)
before syncing an image we first check if it's already present in our storage
to do that we get the manifest from remote and compare it with the local one
but in the case of syncing docker images, because the conversion to OCI format is done while
syncing, we get a docker manifest before conversion, so sync detects that local manifest and
remote one are different, so it starts syncing again.

to overcome this, convert remote docker manifests to OCI manifests and then compare.

Signed-off-by: Petu Eusebiu <peusebiu@cisco.com>
2023-06-21 11:05:52 -07:00
..
api fix(authz): assign identity to authz context in tls mutual authentication (#1541) 2023-06-21 16:06:53 +03:00
cli fix(cve): Fix CVE scanning in images containing Jar files (#1475) 2023-06-01 00:37:46 +03:00
common feat(sync): sync references(signatures/artifacts) recursively (#1500) 2023-06-16 10:27:33 -07:00
compliance feat(repodb): Multiarch Image support (#1147) 2023-02-27 11:23:18 -08:00
debug chore: update golang (to 1.20.x) and golangci-linter (#1388) 2023-04-27 00:09:46 -07:00
exporter feat: remove usage of zerolog.Logger.Msgf() from zot code (#1382) 2023-04-27 19:44:22 -07:00
extensions fix(sync): fixed skipping docker images when they already synced (#1521) 2023-06-21 11:05:52 -07:00
log refactor(artifact): remove oci artifact support (#1359) 2023-05-10 10:15:33 -07:00
meta refactor(storage): refactoring storage (#1459) 2023-05-26 11:08:19 -07:00
regexp chore(trivy): update trivy version and enforce OCI compliant repo names in local image storage (#1068) 2023-01-18 08:24:44 -08:00
requestcontext fix(authz): get username from authn.go request context (#1383) 2023-04-27 08:13:06 -07:00
scheduler feat(storage): rebuild storage(s3/local) dedupe index when switching dedupe status (#1062) 2023-04-07 09:49:24 -07:00
storage feat(sync): sync references(signatures/artifacts) recursively (#1500) 2023-06-16 10:27:33 -07:00
test chore: fix dependabot alerts (#1501) 2023-06-09 10:27:42 -07:00