Registry Aliases cannot be used with category matching #34306
-
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.173.1 Please tell us more about your question or problemWe have an issue where we have set registry aliases globally and as they aren't valid for helm dependencies the chart.lock file fails to update with the following error
We changed our config to set the aliases for just the docker category and gitlab-ci which as the aliases were now not being set for the helm updates the chart.lock was successfully being updated. Within our docker files we configure our images to use a harbor cache and define the image like
These images are now not being updated with the skip reason 'contains-variable
These seems to relate to this issue #5626 Is there a way that we can either stop a global registry alias being applied for a specific manager or allow support for registryAliases defined for just the docker category which supports the use of variables within the docker name.
Logs (if relevant)Logs
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Try: {
"docker": {
"registryAliases": ...
}
} I think that should work with a category name (e.g. |
Beta Was this translation helpful? Give feedback.
Thanks for the clarification @viceice as to why using the category doesn't work.
setting
registryAliases
on thedockerfile
manager works