Skip to content

Commit

Permalink
chore: Fix renovate annotations regex
Browse files Browse the repository at this point in the history
  • Loading branch information
JadedBlueEyes committed Jan 15, 2025
1 parent 80fc5f0 commit a6613ad
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,12 @@
{
"customType": "regex",
"description": "Update _VERSION variables in Dockerfiles",
"fileMatch": ["(^|/|\\.)Dockerfile$", "(^|/)Dockerfile\\.[^/]*$"],
"fileMatch": [
"(^|/)([Dd]ocker|[Cc]ontainer)file[^/]*$",
"(^|/|\\.)([Dd]ocker|[Cc]ontainer)file$"
],
"matchStrings": [
"# renovate: datasource=(?<datasource>[a-z-]+?)(?: depName=(?<depName>.+?))? packageName=(?<packageName>.+?)(?: versioning=(?<versioning>[a-z-]+?))?\\s(?:ENV|ARG) .+?_VERSION=(?<currentValue>.+?)\\s"
"# renovate: datasource=(?<datasource>[a-z-.]+?) depName=(?<depName>[^\\s]+?)(?: (lookupName|packageName)=(?<packageName>[^\\s]+?))?(?: versioning=(?<versioning>[^\\s]+?))?(?: extractVersion=(?<extractVersion>[^\\s]+?))?(?: registryUrl=(?<registryUrl>[^\\s]+?))?\\s(?:ENV|ARG)\\s+[A-Za-z0-9_]+?_VERSION[ =][\"']?(?<currentValue>.+?)[\"']?\\s"
]
}
],
Expand Down

0 comments on commit a6613ad

Please sign in to comment.