Skip to content

Ubuntu numeric tag gets updated to named tag with timestamp #35823

Open
@rarkins

Description

@rarkins

Discussed in #35418

Originally posted by sass1997 April 16, 2025

How are you running Renovate?

Self-hosted Renovate

If you're self-hosting Renovate, tell us which platform (GitHub, GitLab, etc) and which version of Renovate.

Gitlab

Please tell us more about your question or problem

I currently struggle how to prevent tag updates to named tag of ubuntu image.

I currently have an image in my .gitlab-ci.yml

image: ubuntu:25.04@sha256:3fa335765c57a9ef67f62ef33b4411266c576f4dbdd9d5255f5da2ac306e021f

Renovate wants to update it now to


image: ubuntu:plucky-20250402@sha256:3fa335765c57a9ef67f62ef33b4411266c576f4dbdd9d5255f5da2ac306e021f

Is there another a setting to not allow this named releases?

Logs (if relevant)

Logs

DEBUG: packageFiles with updates (repository=xxx, baseBranch=main)
       "config": {
         "gitlabci": [
           {
             "packageFile": ".gitlab-ci.yml",
             "deps": [
               {
                 "depName": "ubuntu",
                 "currentValue": "25.04",
                 "currentDigest": "sha256:3fa335765c57a9ef67f62ef33b4411266c576f4dbdd9d5255f5da2ac306e021f",
                 "replaceString": "ubuntu:25.04@sha256:3fa335765c57a9ef67f62ef33b4411266c576f4dbdd9d5255f5da2ac306e021f",
                 "autoReplaceStringTemplate": "{{depName}}{{#if newValue}}:{{newValue}}{{/if}}{{#if newDigest}}@{{newDigest}}{{/if}}",
                 "datasource": "docker",
                 "versioning": "ubuntu",
                 "depType": "image",
                 "updates": [
                   {
                     "bucket": "non-major",
                     "newVersion": "plucky-20250402",
                     "newValue": "plucky-20250402",
                     "newDigest": "sha256:3fa335765c57a9ef67f62ef33b4411266c576f4dbdd9d5255f5da2ac306e021f",
                     "releaseTimestamp": "2025-04-09T08:04:55.059Z",
                     "newVersionAgeInDays": 7,
                     "newMajor": 25,
                     "newMinor": 4,
                     "newPatch": null,
                     "updateType": "patch",
                     "branchName": "fix/renovate-ubuntu-25.x"
                   }
                 ],
                 "packageName": "ubuntu",
                 "warnings": [],
                 "registryUrl": "https://index.docker.io",
                 "lookupName": "library/ubuntu",
                 "currentVersion": "25.04",
                 "currentVersionTimestamp": "2025-04-09T08:04:35.305Z",
                 "currentVersionAgeInDays": 7,
                 "isSingleVersion": true,
                 "fixedVersion": "25.04"
               }
             ]
           }
         ]
       }

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority-3-mediumDefault priority, "should be done" but isn't prioritised ahead of othersversioning:ubuntuUbuntu versioning

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions