Skip to content

Commit

Permalink
add fix for OCI-based registries
Browse files Browse the repository at this point in the history
  • Loading branch information
Caleb Hansard committed Nov 7, 2024
1 parent dc83ca6 commit 8408ef4
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions renovate.json
Original file line number Diff line number Diff line change
@@ -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 *=.*\"(?<depName>.*?)\"\\)\\s*chart_version *=.*\"(?<currentValue>.*?)\"\\)\\s*repository *=.*\"(?<registryUrl>.*?)\"\\)"
"chart *=.*\"(?<depName>.*?)\"\\)\\s*chart_version *=.*\"(?<currentValue>.*?)\"\\)\\s*repository *=.*\"(?<registryUrl>https.*?)\"\\)"
],
"datasourceTemplate": "helm",
"versioningTemplate": "helm"
"datasourceTemplate": "helm"
},
{
"customType": "regex",
"fileMatch": ["(^|/)main\\.tf$"],
"matchStrings": [
"chart *=.*\"(?<depName>.*?)\"\\)\\s*chart_version *=.*\"(?<currentValue>.*?)\"\\)\\s*repository *=.*\"oci://(?<namespace>.*?)\"\\)"
],
"datasourceTemplate": "docker",
"packageNameTemplate": "{{namespace}}/{{depName}}"
}
]
}

0 comments on commit 8408ef4

Please sign in to comment.