diff --git a/renovate.json b/renovate.json index 38dcece..a3d4c3d 100644 --- a/renovate.json +++ b/renovate.json @@ -1,16 +1,24 @@ { "$schema": "https://docs.renovatebot.com/renovate-schema.json", "extends": ["config:recommended"], - "enabledManagers": ["regex"], + "enabledManagers": ["custom.regex"], "customManagers": [ { "customType": "regex", "fileMatch": ["(^|/)main\\.tf$"], "matchStrings": [ - "chart *=.*\"(?.*?)\"\\)\\s*chart_version *=.*\"(?.*?)\"\\)\\s*repository *=.*\"(?.*?)\"\\)" + "chart *=.*\"(?.*?)\"\\)\\s*chart_version *=.*\"(?.*?)\"\\)\\s*repository *=.*\"(?https.*?)\"\\)" ], - "datasourceTemplate": "helm", - "versioningTemplate": "helm" + "datasourceTemplate": "helm" + }, + { + "customType": "regex", + "fileMatch": ["(^|/)main\\.tf$"], + "matchStrings": [ + "chart *=.*\"(?.*?)\"\\)\\s*chart_version *=.*\"(?.*?)\"\\)\\s*repository *=.*\"oci://(?.*?)\"\\)" + ], + "datasourceTemplate": "docker", + "packageNameTemplate": "{{namespace}}/{{depName}}" } ] }