-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathrenovate.json
80 lines (80 loc) · 2.34 KB
/
renovate.json
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"schedule": ["before 2am"],
"rebaseWhen": "behind-base-branch",
"dependencyDashboard": true,
"labels": ["dependencies", "no-stale"],
"commitMessagePrefix": "⬆️",
"commitMessageTopic": "{{depName}}",
"regexManagers": [
{
"fileMatch": ["/Dockerfile$", "/build.yaml$"],
"matchStringsStrategy": "any",
"matchStrings": [
"ARG BUILD_FROM=(?<depName>.*?):(?<currentValue>.*?)\\s+",
"(aarch64|amd64|armhf|armv7|i386):\\s[\"']?(?<depName>.*?):(?<currentValue>.*?)[\"']?\\s"
],
"datasourceTemplate": "docker"
},
{
"fileMatch": ["/Dockerfile$"],
"matchStrings": [
"ARG BASHIO_VERSION=[\"']?(?<currentValue>.+?)[\"']?\\s+"
],
"datasourceTemplate": "github-releases",
"depNameTemplate": "hassio-addons/bashio",
"versioningTemplate": "semver"
},
{
"fileMatch": ["/Dockerfile$"],
"matchStrings": [
"ARG S6_OVERLAY_VERSION=[\"']?(?<currentValue>.+?)[\"']?\\s+"
],
"datasourceTemplate": "github-tags",
"versioningTemplate": "loose",
"depNameTemplate": "just-containers/s6-overlay",
"extractVersionTemplate": "^v(?<version>.*)$"
},
{
"fileMatch": ["/Dockerfile$"],
"matchStrings": [
"ARG TEMPIO_VERSION=[\"']?(?<currentValue>.+?)[\"']?\\s+"
],
"datasourceTemplate": "github-releases",
"depNameTemplate": "home-assistant/tempio",
"versioningTemplate": "loose"
},
{
"fileMatch": ["/Dockerfile$"],
"matchStringsStrategy": "any",
"matchStrings": [
"\\s\\s(?<package>[a-z0-9-]+)=(?<currentValue>[a-z0-9-_+~.]+)\\s+"
],
"versioningTemplate": "deb",
"datasourceTemplate": "repology",
"depNameTemplate": "ubuntu_22_04/{{package}}"
}
],
"packageRules": [
{
"matchDatasources": ["github-releases"],
"matchDepNames": ["hassio-addons/bashio"],
"matchUpdateTypes": ["minor", "patch"],
"automerge": true
},
{
"matchDatasources": ["repology"],
"automerge": true
},
{
"groupName": "Ubuntu base image",
"matchDatasources": ["docker"]
},
{
"groupName": "Ubuntu base image",
"matchDatasources": ["docker"],
"matchUpdateTypes": ["patch"],
"automerge": true
}
]
}