From 447c76aa3ea6d3e4d0ec19ee178fcc9b92537d54 Mon Sep 17 00:00:00 2001 From: James Gebbie-Rayet Date: Wed, 16 Sep 2026 11:30:39 +0100 Subject: [PATCH] Add custom manager for pypi installs in Dockerfile in Renovate config --- .github/renovate.json | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/renovate.json b/.github/renovate.json index c54154b..6627d6a 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -15,5 +15,18 @@ "groupName": "GitHub Actions", "addLabels": ["ci", "dependencies"] } + ], + "customManagers": [ + { + "customType": "regex", + "fileMatch": ["(^|/)Dockerfile[^/]*$"], + "matchStringsStrategy": "recursive", + "matchStrings": [ + "pip3? install[\\s\\S]*?(?(?:[\\w.-]+==[\\w.-]+[\\s\\\\]*)+)", + "(?[\\w.-]+)==(?[\\w.-]+)" + ], + "datasourceTemplate": "pypi", + "versioningTemplate": "pep440" + } ] }