diff --git a/renovate.json5 b/renovate.json5 index ed45457..f553deb 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": [ + "- name:\\s*(?\\S+)\\s*\\n\\s*newName:\\s*(?\\S+)\\s*\\n\\s*newTag:\\s*(?[a-f0-9]{7,40})" + ], + "datasourceTemplate": "docker", + "versioningTemplate": "loose", + "extractVersionTemplate": "{{ currentValue }}", + "lookupNameTemplate": "{{ lookupName }}" + }, + ], "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:(.*)" } ], }