diff --git a/renovate.json b/renovate.json index 5cc1837..428e65a 100644 --- a/renovate.json +++ b/renovate.json @@ -6,10 +6,22 @@ "customType": "regex", "description": "Update curl Version", "fileMatch": ["Dockerfile"], - "matchStrings": ["curl-(?\\d+\\.\\d+\\.\\d+)\\.tar\\.gz"], - "datasourceTemplate": "github-releases", + "matchStrings": ["(?curl-\\d+\\.\\d+\\.\\d+)"], + "datasourceTemplate": "custom.curl", "depNameTemplate": "curl/curl", - "versioningTemplate": "regex:^(?:curl-)?(?\\d+)[_.](?\\d+)[_.](?\\d+)$" + "versioningTemplate": "regex:curl-(?\\d+)\\.(?\\d+)\\.(?\\d+)" + } + ], + "customDatasources": { + "curl": { + "defaultRegistryUrlTemplate": "https://curl.se/download.html", + "format": "html" + } + }, + "packageRules": [ + { + "matchDatasources": ["custom.curl"], + "extractVersion": "/curl-(?.+)\\.tar\\.gz$" } ] }