Skip to content

Commit

Permalink
Better renovate filter for Dockerfiles
Browse files Browse the repository at this point in the history
Signed-off-by: Mario Loriedo <mario.loriedo@gmail.com>
  • Loading branch information
l0rd committed Mar 14, 2024
1 parent a9a35c9 commit be8fff6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@
"extends": ["config:base"],
"regexManagers": [
{
"fileMatch": ["^Dockerfile$"],
"fileMatch": [
"(^|/|\\.)([Dd]ocker|[Cc]ontainer)file$",
"(^|/)([Dd]ocker|[Cc]ontainer)file[^/]*$"
],
"matchStrings": [
"#\\s*renovate:\\s*datasource=(?<datasource>.*?) depName=(?<depName>.*?)( versioning=(?<versioning>.*?))?\\sENV .*?_VERSION=\"(?<currentValue>.*)\"\\s"
],
Expand Down

0 comments on commit be8fff6

Please sign in to comment.