Prevent Tag Overwrites with Harbor Project-Level Immutable Tags
Enable Harbor project-level immutable tags to block tag overwrites, then update CI/CD to use unique versioned tags or digest references.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Enable Harbor project-level immutable tags to block tag overwrites, then update CI/CD to use unique versioned tags or digest references.
Harbor 2.6+ lets you mark image tags immutable via a native API, blocking any overwrite at the registry level. This guide compares native immutability with CI gates and Notary signing, shows the exact curl commands to enable and verify a tag, and lists the operational limits you must consider.
Immutable tag enforcement in Harbor blocks overwriting an existing tag digest at push time, making image promotion reproducible and preventing silent drift in CI/CD pipelines.
Learn how to lock down container image tags in Harbor so that once an image is pushed it can’t be overwritten. The guide covers prerequisites, UI and API steps, validation checks, and recovery options so you can protect production releases without breaking CI pipelines.
A minimal Harbor lifecycle uses per-project retention policies, immutable tag rules for releases, scheduled garbage collection, and scoped robot accounts to bound storage growth while protecting release artifacts.