From 4ef239bb5d345affbb1e28ebf195795f23e32b82 Mon Sep 17 00:00:00 2001 From: Caleb Hansard Date: Wed, 6 Nov 2024 16:55:51 -0700 Subject: [PATCH] add fix for OCI-based registries --- renovate.json | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/renovate.json b/renovate.json index 38dcece..0f2fd59 100644 --- a/renovate.json +++ b/renovate.json @@ -7,10 +7,18 @@ "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}}" } ] }