diff --git a/renovate.json b/renovate.json index eb42bb90d..fb7162c0c 100644 --- a/renovate.json +++ b/renovate.json @@ -18,7 +18,14 @@ { "groupName": "dockerfile template base images", "matchDatasources": ["docker"], - "matchManagers": ["custom.regex"] + "matchManagers": ["custom.regex"], + "matchFileNames": ["pkg/container/templates/*.tmpl"] + }, + { + "groupName": "mcp server images", + "matchDatasources": ["docker"], + "matchManagers": ["custom.regex"], + "matchFileNames": ["pkg/registry/data/registry.json"] } ], "customManagers": [ @@ -30,6 +37,15 @@ "FROM (?[a-z0-9.-]+):(?[a-z0-9.-]+)" ], "datasourceTemplate": "docker" + }, + { + "customType": "regex", + "description": "Update MCP server Docker images in registry.json", + "managerFilePatterns": ["pkg/registry/data/registry.json"], + "matchStrings": [ + "\"image\":\\s*\"(?(?:(?:[a-zA-Z0-9][a-zA-Z0-9-]*(?:\\.[a-zA-Z0-9][a-zA-Z0-9-]*)*(?::[0-9]+)?/)?(?:[a-z0-9]+(?:[._-][a-z0-9]+)*/)*)?[a-z0-9]+(?:[._-][a-z0-9]+)*):(?[a-zA-Z0-9][a-zA-Z0-9._-]*(?:@sha256:[a-f0-9]{64})?)\"" + ], + "datasourceTemplate": "docker" } ], "postUpdateOptions": ["gomodTidy"]