Skip to content

Wrongly tagged Docker image causing Renovate issues #349

@SanderDelden

Description

@SanderDelden

Hi,

I'm using Renovate in my project to keep Ofelia up-to-date. At one point it seems that v3.0.8 was released/pushed instead of 0.3.8. There is still a image on Dockerhub with the v3.0.8 tag: https://hub.docker.com/layers/mcuadros/ofelia/v3.0.8/images/sha256-ec9232c3cda4af07ce5d981a824746cf6037e6af5b994e6078cd0532f3d3f9e6

This is causing issues with Renovate as it believes this is a new major version. Can the image on Dockerhub maybe be removed/renamed?

Renovate logs:

DEBUG: packageFiles with updates (repository=removed/removed, baseBranch=main)
       "config": {
         "docker-compose": [
           {"deps": [], "packageFile": "docker-compose.build.yml"},
           {"deps": [], "packageFile": "docker-compose.dev.yml"},
           {
             "deps": [
               {
                 "depName": "mcuadros/ofelia",
                 "packageName": "mcuadros/ofelia",
                 "currentValue": "0.3.16",
                 "replaceString": "mcuadros/ofelia:0.3.16",
                 "autoReplaceStringTemplate": "{{depName}}{{#if newValue}}:{{newValue}}{{/if}}{{#if newDigest}}@{{newDigest}}{{/if}}",
                 "datasource": "docker",
                 "updates": [
                   {
                     "bucket": "non-major",
                     "newVersion": "0.3.17",
                     "newValue": "0.3.17",
                     "releaseTimestamp": "2025-04-19T12:02:15.486Z",
                     "newVersionAgeInDays": 5,
                     "newMajor": 0,
                     "newMinor": 3,
                     "newPatch": 17,
                     "updateType": "patch",
                     "libYears": 0.08228344837645865,
                     "branchName": "renovate/mcuadros-ofelia-0.x"
                   },
                   {
                     "bucket": "major",
                     "newVersion": "v3.0.8",
                     "newValue": "v3.0.8",
                     "releaseTimestamp": "2023-12-31T11:18:56.964Z",
                     "newVersionAgeInDays": 480,
                     "newMajor": 3,
                     "newMinor": 0,
                     "newPatch": 8,
                     "updateType": "major",
                     "branchName": "renovate/mcuadros-ofelia-3.x"
                   }
                 ],
                 "versioning": "docker",
                 "warnings": [],
                 "sourceUrl": "https://github.com/mcuadros/ofelia",
                 "registryUrl": "https://index.docker.io",
                 "currentVersion": "0.3.16",
                 "currentVersionTimestamp": "2025-03-20T11:14:04.658Z",
                 "currentVersionAgeInDays": 35,
                 "isSingleVersion": true,
                 "fixedVersion": "0.3.16"
               },

Kind regards,
Sander

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions