diff --git a/.github/renovate.json5 b/.github/renovate.json5 new file mode 100644 index 0000000..cb1bb5d --- /dev/null +++ b/.github/renovate.json5 @@ -0,0 +1,46 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": [ + "config:recommended" + ], + "rebaseWhen": "behind-base-branch", + "dependencyDashboard": true, + "labels": ["dependencies", "no-stale"], + "commitMessagePrefix": "⬆️", + "commitMessageTopic": "{{depName}}", + "enabledManagers": ["custom.regex"], + "customManagers": [ + { + "customType": "regex", + "fileMatch": ["/Dockerfile$", "/build.yaml$"], + "matchStringsStrategy": "any", + "matchStrings": [ + "(aarch64|amd64|armhf|armv7|i386):\\s[\"']?(?.*?):(?.*?)[\"']?\\s" + ], + "datasourceTemplate": "docker" + }, + { + "customType": "regex", + "fileMatch": ["/build.yaml$"], + "matchStringsStrategy": "any", + "matchStrings": [ + "\\s\\sTRAEFIK_VERSION:\\s(?.*?)\\n", + ], + "datasourceTemplate": "github-releases", + "depNameTemplate": "traefik/traefik", + "extractVersionTemplate": "v(?.*)$" + }, + ], + "packageRules": [ + { + "groupName": "Add-on base image", + "matchDatasources": ["docker", "github-releases"] + }, + { + "groupName": "Add-on base image", + "matchDatasources": ["docker"], + "matchUpdateTypes": ["minor", "patch"], + "automerge": true + }, + ] +}