Skip to content
Snippets Groups Projects
Unverified Commit b92be76c authored by Johannes Feichtner's avatar Johannes Feichtner Committed by GitHub
Browse files

feat(preset): ensure regexManagers:dockerfileVersions also matches arguments...

feat(preset): ensure regexManagers:dockerfileVersions also matches arguments with space separator (#18062)
parent 0de1cc58
No related branches found
No related tags found
No related merge requests found
...@@ -7,7 +7,7 @@ export const presets: Record<string, Preset> = { ...@@ -7,7 +7,7 @@ export const presets: Record<string, Preset> = {
{ {
fileMatch: ['(^|/|\\.)Dockerfile$', '(^|/)Dockerfile[^/]*$'], fileMatch: ['(^|/|\\.)Dockerfile$', '(^|/)Dockerfile[^/]*$'],
matchStrings: [ matchStrings: [
'# renovate: datasource=(?<datasource>[a-z-]+?) depName=(?<depName>[^\\s]+?)(?: (lookupName|packageName)=(?<packageName>[^\\s]+?))?(?: versioning=(?<versioning>[a-z-0-9]+?))?\\s(?:ENV|ARG) .+?_VERSION="?(?<currentValue>.+?)"?\\s', '# renovate: datasource=(?<datasource>[a-z-]+?) depName=(?<depName>[^\\s]+?)(?: (lookupName|packageName)=(?<packageName>[^\\s]+?))?(?: versioning=(?<versioning>[a-z-0-9]+?))?\\s(?:ENV|ARG) .+?_VERSION[ =]"?(?<currentValue>.+?)"?\\s',
], ],
}, },
], ],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment