Skip to content

GitLab Registry - Immutable Tags

Hi,

Tags mutability could be problematic because it means that when I, for example, revert my production env to an older version of my packaged app, I couldn't be 100% sure that this older tag in my docker registry corresponds, for example, to the associated Gitlab released.

Someone could have made a wrong manipulation and overridden my older tag with another version of my app.

Immutable tags prevent anyone to override my tags. So, I'll be 100% confident when we'll need to:

  • push a new tag
  • revert to an older tag
  • etc.

As seen here: https://forum.gitlab.com/t/gitlab-registry-immutable-tags/14221, it seems that Docker registry is already able to do that.

Best,
Jules Ivanic

Edited by Jules Ivanic