|
| 1 | +{ |
| 2 | + "$schema": "https://docs.renovatebot.com/renovate-schema.json", |
| 3 | + "extends": ["config:recommended"], |
| 4 | + "enabledManagers": ["custom.regex"], |
| 5 | + "dependencyDashboard": false, |
| 6 | + "branchPrefix": "renovate-bot/", |
| 7 | + "commitMessagePrefix": "chore(deps):", |
| 8 | + "prConcurrentLimit": 1, |
| 9 | + "gitIgnoredAuthors": ["41898282+github-actions[bot]@users.noreply.github.com"], |
| 10 | + |
| 11 | + "customManagers": [ |
| 12 | + { |
| 13 | + "customType": "regex", |
| 14 | + "description": "Update OpenIM Docker image tags in .env", |
| 15 | + "fileMatch": ["^\\.env$"], |
| 16 | + "datasourceTemplate": "docker", |
| 17 | + "matchStrings": [ |
| 18 | + "(?:^|\\n)OPENIM_WEB_FRONT_IMAGE=(?<depName>openim/openim-web-front):(?<currentValue>[^\\s#]+)", |
| 19 | + "(?:^|\\n)OPENIM_ADMIN_FRONT_IMAGE=(?<depName>openim/openim-admin-front):(?<currentValue>[^\\s#]+)", |
| 20 | + "(?:^|\\n)OPENIM_SERVER_IMAGE=(?<depName>openim/openim-server):(?<currentValue>[^\\s#]+)", |
| 21 | + "(?:^|\\n)OPENIM_CHAT_IMAGE=(?<depName>openim/openim-chat):(?<currentValue>[^\\s#]+)" |
| 22 | + ] |
| 23 | + } |
| 24 | + ], |
| 25 | + |
| 26 | + "packageRules": [ |
| 27 | + { |
| 28 | + "matchDatasources": ["docker"], |
| 29 | + "matchPackageNames": [ |
| 30 | + "openim/openim-web-front", |
| 31 | + "openim/openim-admin-front", |
| 32 | + "openim/openim-server", |
| 33 | + "openim/openim-chat" |
| 34 | + ], |
| 35 | + "groupName": "OpenIM Docker images", |
| 36 | + "groupSlug": "openim-images" |
| 37 | + }, |
| 38 | + { |
| 39 | + "matchDatasources": ["docker"], |
| 40 | + "matchPackageNames": [ |
| 41 | + "openim/openim-web-front", |
| 42 | + "openim/openim-admin-front" |
| 43 | + ], |
| 44 | + "allowedVersions": "/^release-v\\d+\\.\\d+\\.\\d+(?:-patch\\.\\d+)?$/", |
| 45 | + "versioning": "regex:^release-v(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+)(?:-patch\\.(?<build>\\d+))?$" |
| 46 | + }, |
| 47 | + { |
| 48 | + "matchDatasources": ["docker"], |
| 49 | + "matchPackageNames": [ |
| 50 | + "openim/openim-server", |
| 51 | + "openim/openim-chat" |
| 52 | + ], |
| 53 | + "allowedVersions": "/^v\\d+\\.\\d+\\.\\d+(?:-patch\\.\\d+)?$/", |
| 54 | + "versioning": "regex:^v(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+)(?:-patch\\.(?<build>\\d+))?$" |
| 55 | + } |
| 56 | + ] |
| 57 | +} |
0 commit comments