diff --git a/.github/renovate.json b/.github/renovate.json new file mode 100644 index 0000000..c06520e --- /dev/null +++ b/.github/renovate.json @@ -0,0 +1,43 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "commitMessagePrefix": "⬆️", + "commitMessageTopic": "{{depName}}", + "customManagers": [ + { + "customType": "regex", + "managerFilePatterns": ["//Dockerfile$/", "//build.yaml$/"], + "matchStringsStrategy": "any", + "matchStrings": [ + "ARG BUILD_FROM=(?.*?):(?.*?)\\s+", + "(aarch64|amd64):\\s[\"']?(?.*?):(?.*?)[\"']?\\s" + ], + "datasourceTemplate": "docker" + }, + { + "customType": "regex", + "managerFilePatterns": ["//Dockerfile$/"], + "matchStrings": [ + "ARG HYPERION_VERSION=[\"']?(?.+?)[\"']?\\s+" + ], + "datasourceTemplate": "github-releases", + "depNameTemplate": "hyperion-project/hyperion.ng" + } + ], + "packageRules": [ + { + "groupName": "Add-on base image", + "matchDatasources": ["docker"] + }, + { + "groupName": "Add-on base image", + "matchDatasources": ["docker"], + "matchUpdateTypes": ["minor", "patch"], + "automerge": true + }, + { + "matchDepNames": ["hyperion-project/hyperion.ng"], + "matchUpdateTypes": ["patch"], + "automerge": false + } + ] +}