diff --git a/renovate.json b/renovate.json index 3a9c791..7aa275d 100644 --- a/renovate.json +++ b/renovate.json @@ -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=(?[a-z-]+?)(?: depName=(?.+?))? packageName=(?.+?)(?: versioning=(?[a-z-]+?))?\\s(?:ENV|ARG) .+?_VERSION=(?.+?)\\s" + "# renovate: datasource=(?[a-z-.]+?) depName=(?[^\\s]+?)(?: (lookupName|packageName)=(?[^\\s]+?))?(?: versioning=(?[^\\s]+?))?(?: extractVersion=(?[^\\s]+?))?(?: registryUrl=(?[^\\s]+?))?\\s(?:ENV|ARG)\\s+[A-Za-z0-9_]+?_VERSION[ =][\"']?(?.+?)[\"']?\\s" ] } ],