versioningTemplate ignored in custom manager? (Suggest upgrades to eclipse-temurin ubuntu variants) #33934
-
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, Renovate v39.11.7 Please tell us more about your question or problemHello folks, I was trying to configure a custom manager (regex) so that Renovate suggests upgrades for For instance, it should suggest the following change: - FROM eclipse-temurin:21.0.5_11-jre-jammy
+ FROM eclipse-temurin:21.0.5_11-jre-noble I saw the So I tried the following Renovate config: "regexManagers": [
{
"fileMatch": ["(^|/)Dockerfile$"],
"matchStrings": ["FROM (?<depName>.*):.*-jre-(?<currentValue>.*)"],
"extractVersionTemplate": "^.*-jre-(?<version>.*)$",
"versioningTemplate": "ubuntu",
"datasourceTemplate": "docker"
}
] But for some reason, it doesn't work and especially it seems to ignore the Any idea of why this is happening? Or another way to achieve the same? Logs (if relevant)Logs
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Okay, so I think I figured out why After adding another package rule that supersedes this one, I'm able to have the But this still doesn't work as expected: Renovate doesn't find any updates. Still troubleshooting this :) Logs:
I'm using https://github.com/gaeljw/renovate-regex-dockerfile-eclipse-temurin as a reproduction/try repository. |
Beta Was this translation helpful? Give feedback.
Okay, I think I got it working without having to disable the workaround preset.