|
| 1 | +{ |
| 2 | + "$schema": "https://docs.renovatebot.com/renovate-schema.json", |
| 3 | + "rebaseWhen": "behind-base-branch", |
| 4 | + "dependencyDashboard": true, |
| 5 | + "labels": ["dependencies", "no-stale"], |
| 6 | + "commitMessagePrefix": "⬆️", |
| 7 | + "commitMessageTopic": "{{depName}}", |
| 8 | + "regexManagers": [ |
| 9 | + { |
| 10 | + "fileMatch": ["/Dockerfile$", "/build.yaml$"], |
| 11 | + "matchStringsStrategy": "any", |
| 12 | + "matchStrings": [ |
| 13 | + "ARG BUILD_FROM=(?<depName>.*?):(?<currentValue>.*?)\\s+", |
| 14 | + "(aarch64|amd64|armhf|armv7|i386):\\s[\"']?(?<depName>.*?):(?<currentValue>.*?)[\"']?\\s" |
| 15 | + ], |
| 16 | + "datasourceTemplate": "docker" |
| 17 | + }, |
| 18 | + { |
| 19 | + "fileMatch": ["/Dockerfile$"], |
| 20 | + "matchStringsStrategy": "any", |
| 21 | + "matchStrings": [ |
| 22 | + "\\s\\s(?<package>[a-z0-9][a-z0-9-_]+)=(?<currentValue>[a-z0-9-_.]+)\\s+" |
| 23 | + ], |
| 24 | + "versioningTemplate": "loose", |
| 25 | + "datasourceTemplate": "repology", |
| 26 | + "depNameTemplate": "alpine_3_17/{{package}}" |
| 27 | + } |
| 28 | + ], |
| 29 | + "packageRules": [ |
| 30 | + { |
| 31 | + "matchDatasources": ["repology"], |
| 32 | + "automerge": true |
| 33 | + }, |
| 34 | + { |
| 35 | + "groupName": "PHP", |
| 36 | + "matchDatasources": ["repology"], |
| 37 | + "matchDepPatterns": ["alpine.*/php.*"], |
| 38 | + "automerge": true |
| 39 | + }, |
| 40 | + { |
| 41 | + "groupName": "Add-on base image", |
| 42 | + "matchDatasources": ["docker"] |
| 43 | + }, |
| 44 | + { |
| 45 | + "groupName": "Add-on base image", |
| 46 | + "matchDatasources": ["docker"], |
| 47 | + "matchUpdateTypes": ["minor", "patch"], |
| 48 | + "automerge": true |
| 49 | + } |
| 50 | + ] |
| 51 | +} |
0 commit comments