Manually specify sourceUrl for a Docker package #7947
-
Which Renovate are you using?Renovate Open Source CLI Which platform are you using?Gitea self-hosted Have you checked the logs? Don't forget to include them if relevant
What would you like to do?I'm trying to manually specify a source URL for a Docker package that doesn't include a source label so I get proper change logs. Following advice from #6814 (comment), I added a package rule that specifies a Full
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
The workaround is to ad the sourceUrl package rule to the bot config.js. as it's not validated there. But applied. 😏 |
Beta Was this translation helpful? Give feedback.
-
FYI one reason to not allow sourceUrl to be repository-configurable currently is because it could totally mess with our caching if someone set a public package to have wrong sourceUrl. We have this code for any public sourceUrl additions: renovate/lib/datasource/metadata.ts Line 61 in e18259c |
Beta Was this translation helpful? Give feedback.
-
Summarizing in order of preference:
|
Beta Was this translation helpful? Give feedback.
Summarizing in order of preference:
LABEL org.opencontainers.image.source="https://github.com/renovatebot/renovate"
renovate/lib/datasource/metadata.ts
Line 61 in e18259c
packageRules
in the bot config