-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrenovate.json5
37 lines (37 loc) · 1.19 KB
/
renovate.json5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{
$schema: "https://docs.renovatebot.com/renovate-schema.json",
extends: ["config:recommended", "github>aquaproj/aqua-renovate-config#2.7.5"],
customManagers: [
{
customType: "regex",
fileMatch: "^Dockerfile$",
matchStringsStrategy: "any",
matchStrings: [
"https:\\/\\/github\\.com\\/(?<depName>.*?)\\/releases\\/download\\/(?<currentValue>[^\\/]+)\\/.*\\s*",
"https:\\/\\/raw\\.githubusercontent\\.com\\/(?<depName>.*?)\\/refs\\/tags\\/(?<currentValue>[^\\/]+)\\/.*\\s*",
"https:\\/\\/raw\\.githubusercontent\\.com\\/(?<depName>[^/]+\\/[^/]+?)\\/(?<currentValue>[^\\/]+?)\\/.*\\s*",
],
datasourceTemplate: "github-tags",
},
{
customType: "regex",
fileMatch: "^Dockerfile$",
matchStringsStrategy: "any",
matchStrings: ["AQUA_VERSION=(?<currentValue>.*)"],
depNameTemplate: "aquaproj/aqua",
datasourceTemplate: "github-tags",
},
],
packageRules: [
{
matchUpdateTypes: ["patch"],
matchDatasources: ["github-tags", "docker"],
matchCurrentVersion: "!/^0/",
automerge: true,
},
{
matchPackageNames: ["aquaproj/aqua-registry"],
automerge: true,
},
],
}