Explorar o código

Add regex for matchstring line in Dockerfiles

Peter %!s(int64=2) %!d(string=hai) anos
pai
achega
b3c54ed07a
Modificáronse 1 ficheiros con 6 adicións e 0 borrados
  1. 6 0
      .github/renovate.json

+ 6 - 0
.github/renovate.json

@@ -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"
+       ]
     }
   ]
 }