zot - A scale-out production-ready vendor-neutral OCI-native container image/artifact registry (purely based on OCI Distribution Specification) https://zotregistry.dev
  • Go 92.7%
  • Shell 6.7%
  • Makefile 0.5%
Find a file
Uğur Tafralı 1ff6f609b7
fix: skip OCI conversion when image is already synced #3823
* Fix #3823: skip OCI conversion when image is already synced

When syncRef determines an image is already synced, it now returns a
bool to signal the skip. syncImage checks this and returns early before
attempting OCI conversion, preventing misleading 'failed to convert
docker image to oci' errors caused by a non-existent temp directory.

* Keep syncReferrers and CommitAll running for already-synced images

Address review feedback: new referrers can be added upstream after
initial sync, so we must not skip syncReferrers. Only the OCI
conversion is guarded by the skipped flag, since converting an
already-stored image is both unnecessary and incorrect.

Signed-off-by: Ugur Tafrali <ugur.tafrali@gmail.com>

---------

Signed-off-by: Ugur Tafrali <ugur.tafrali@gmail.com>
2026-02-28 19:37:01 +02:00
.github chore: fix dependabot alerts (#3820) 2026-02-24 08:23:49 +02:00
.zap feat(ui): update zui version (#2162) 2024-01-17 17:22:33 +02:00
build fix(build): upgrade zot runtime base image to distroless debian13 (#3791) 2026-02-12 13:22:55 +02:00
cmd chore: Enable Go jsonv2 experiment and update the trivy dependency (v0.67.2) (#3572) 2025-11-27 09:58:37 +02:00
demos feat(sync): use regclient for sync extension (#2903) 2025-04-15 16:58:15 -07:00
docs swagger: rename 'docs/' to 'swagger/' 2021-10-21 13:46:14 -07:00
errors feat(tls): implement dynamic TLS certificate reloading with file watching (#3792) 2026-02-15 13:01:50 -08:00
examples GCS storage support (#3798) 2026-02-18 23:41:21 -08:00
pkg fix: skip OCI conversion when image is already synced #3823 2026-02-28 19:37:01 +02:00
scripts feat(events): add events extension (#3045) 2025-05-02 12:30:06 -07:00
swagger fix: migrate to Go module v2 for proper semantic versioning (#3462) 2025-10-16 22:43:47 -07:00
test chore: bump zui version (#3809) 2026-02-22 18:30:46 -08:00
.gitattributes build(deps): bump all dependencies (#2532) 2024-08-02 14:23:53 -07:00
.gitignore fix: migrate from github.com/rs/zerolog to golang-native log/slog (#3405) 2025-10-03 12:34:03 -07:00
.golangci.yaml chore: fix dependabot alerts (#3788) 2026-02-09 22:18:35 -08:00
CODE_OF_CONDUCT.md doc: add a CODE_OF_CONDUCT.md 2020-12-15 11:20:45 -08:00
codecov.yml refactor(metadb): improve UX by speeding up metadb serialize/deserialize (#1842) 2023-10-30 13:06:04 -07:00
CODEOWNERS docs: update maintainers and codeowners info (#3502) 2025-10-31 12:47:10 -07:00
COMPARISON.md move references to zotregistry.io and project-zot 2021-12-05 10:52:27 -08:00
CONTRIBUTING.md build: fix container image targets (#1856) 2023-10-04 09:12:56 -07:00
go.mod chore: fix dependabot alerts (#3820) 2026-02-24 08:23:49 +02:00
go.sum chore: fix dependabot alerts (#3820) 2026-02-24 08:23:49 +02:00
LICENSE fix: license copyright update (#3167) 2025-05-25 11:57:49 +03:00
MAINTAINERS.md docs: update maintainers and codeowners info (#3502) 2025-10-31 12:47:10 -07:00
Makefile chore: bump zui version (#3809) 2026-02-22 18:30:46 -08:00
NOTICE docs: fix copyright related info for cncf onboarding (#1117) 2023-01-17 15:43:45 -08:00
README.md fix: migrate to Go module v2 for proper semantic versioning (#3462) 2025-10-16 22:43:47 -07:00
README_fuzz.md Add fuzz tests for storage_fs (#601) 2022-07-27 20:37:55 +03:00
SECURITY.md chore: update support matrix 2024-03-14 09:43:42 -07:00
THIRD-PARTY-LICENSES.md chore: fix dependabot alerts (#2645) 2024-09-09 18:32:57 -07:00
tools.go chore: update golangci-lint and fix all issues (#3575) 2025-11-22 23:36:48 +02:00
zot.go zot: initial commit 2019-06-21 15:29:19 -07:00

zot

build test nightly jobs codecov conformance CodeQL CII Best Practices OpenSSF Scorecard Go Reference FOSSA Status

zot: a production-ready vendor-neutral OCI image registry - images stored in OCI image format, distribution specification on-the-wire, that's it!

Documentation for zot is located at: https://zotregistry.dev

Code of conduct details are here.

License

FOSSA Status