diff --git a/content/manuals/docker-hub/repos/manage/hub-images/immutable-tags.md b/content/manuals/docker-hub/repos/manage/hub-images/immutable-tags.md index b0ae4abee53..d01fee36c01 100644 --- a/content/manuals/docker-hub/repos/manage/hub-images/immutable-tags.md +++ b/content/manuals/docker-hub/repos/manage/hub-images/immutable-tags.md @@ -25,15 +25,20 @@ To enable immutable tags for your repository: 1. Sign in to [Docker Hub](https://hub.docker.com). 2. Select **My Hub** > **Repositories**. 3. Select the repository where you want to enable immutable tags. -4. Select the **Settings** tab -5. Under **Tag mutability settings**, select **Immutable**. +4. Go to **Settings** > **General**. +5. Under **Tag mutability settings**, select one of the following options: + - **All tags are mutable (Default)**: + Tags can be changed to reference a different image. This lets you retarget a tag without creating a new one. + - **All tags are immutable**: + Tags cannot be updated to point to a different image after creation. This ensures consistency and prevents accidental changes. This includes the `latest` tag. + - **Specific tags are immutable**: + Define specific tags that cannot be updated after creation using regex values. 6. Select **Save**. Once enabled, all tags are locked to their specific images, ensuring that each tag always points to the same image version and cannot be modified. - > [!NOTE] -> -> All tags in the repository become immutable, including the `latest` tag. +> [!NOTE] +> This implementation of regular expressions follows the [Go regexp package](https://pkg.go.dev/regexp), which is based on the RE2 engine. For more information, visit [RE2 Regular Expression Syntax](https://github.com/google/re2/wiki/Syntax). ## Working with immutable tags @@ -48,3 +53,8 @@ To push an image, create a new tag for your updated image and push it to the rep + + + + +