From 3544bcecf471897e4416437a2d8539ff18c95e6d Mon Sep 17 00:00:00 2001 From: Jakob van Santen Date: Thu, 7 Nov 2024 09:44:56 +0100 Subject: [PATCH] renovate: enable dockerfile --- renovate.json | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/renovate.json b/renovate.json index 671c783..98c3739 100644 --- a/renovate.json +++ b/renovate.json @@ -2,5 +2,15 @@ "extends": [ "github>AmpelProject/renovate-config", "github>AmpelProject/renovate-config//regexManagers/githubActionsVersions" + ], + "customManagers": [ + { + "customType": "regex", + "description": "Update _VERSION variables in Dockerfiles", + "fileMatch": ["(^|/|\\.)Dockerfile$", "(^|/)Dockerfile\\.[^/]*$"], + "matchStrings": [ + "# renovate: datasource=(?[a-z-]+?) depName=(?[^\\s]+?)(?: packageName=(?[^\\s]+?))?(?: versioning=(?[a-z0-9-]+?))?\\s(?:ENV|ARG) .+?_VERSION=(?.+?)\\s" + ] + } ] }