diff --git a/renovate.json5 b/renovate.json5 index ed45457..71dc313 100644 --- a/renovate.json5 +++ b/renovate.json5 @@ -1,6 +1,18 @@ { "$schema": "https://docs.renovatebot.com/renovate-schema.json", "dependencyDashboard": true, + "regexManagers": [ + { + "fileMatch": ["^kustomization\\.yaml$"], + "matchStrings": [ + "image: (?[^:]+):(?[^\\s]+)" + ], + "datasourceTemplate": "docker", + "versioningTemplate": "loose", + "extractVersionTemplate": "{{ currentValue }}", + "lookupNameTemplate": "{{ depName }}", + }, + ], "packageRules": [ // Fully automatically update the container version referenced in the deployment { @@ -8,10 +20,12 @@ "automerge": true, "automergeType": "branch", "ignoreTests": true, - "commitMessagePrefix": "[skip ci]" + "commitMessagePrefix": "[skip ci]", "registryUrls": [ "https://git.kluster.moll.re" - ] + ], + // Since the images use the commit sha as their tag, simply match any tag + "versioning": "regex:(.*)" } ], }