The right configuration to using customManagers with regex #29344
-
What would you like help with?I would like help with my configuration How are you running Renovate?Self-hosted If you're self-hosting Renovate, tell us which platform (GitHub, GitLab, etc) and which version of Renovate.self-hosted GitLab with ghcr.io/renovatebot/renovate:37.381.7-slim Please tell us more about your question or problemI can't find the right configuration to read a Dockerfile and catch, with a regex, the version stored in a env var of a Dockerfile (see below). Can you help me to spot what's wrong ? Here the configuration:
Here the dockerfile:
Logs (if relevant)
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
matchDatasources and matchDepNames are invalid values in custom managers. You need datasourceTemplate and depNameTemplate instead. We have a lot of examples of custom managers both in our docs as well as in solved discussions in this repo you can follow |
Beta Was this translation helpful? Give feedback.
matchDatasources and matchDepNames are invalid values in custom managers. You need datasourceTemplate and depNameTemplate instead. We have a lot of examples of custom managers both in our docs as well as in solved discussions in this repo you can follow