Add regex for matchstring line in Dockerfiles

This commit is contained in:
Peter 2023-01-04 19:09:23 +01:00
parent c601eca25d
commit b3c54ed07a
No known key found for this signature in database
GPG Key ID: A40EE5665510C9D5

View File

@ -16,6 +16,12 @@
"matchStrings": [
"#\\srenovate:\\sdatasource=(?<datasource>.*?) depName=(?<depName>.*?)( versioning=(?<versioning>.*?))?( extractVersion=(?<extractVersion>.*?))?\\s.*?_VERSION=(?<currentValue>.*)"
]
},
{
"fileMatch": ["(^|/)Dockerfile[^/]*$"],
"matchStrings": [
"#\\srenovate:\\sdatasource=(?<datasource>.*?) depName=(?<depName>.*?)( versioning=(?<versioning>.*?))?\\s(ENV|ARG) .*?_VERSION=(?<currentValue>.*)\\s"
]
}
]
}