-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathrenovate.json
More file actions
34 lines (34 loc) · 919 Bytes
/
Copy pathrenovate.json
File metadata and controls
34 lines (34 loc) · 919 Bytes
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
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"local>Altinn/renovate-config"
],
"customManagers": [
{
"customType": "regex",
"description": "Manage Alpine OS versions in container image tags",
"managerFilePatterns": [
"/Dockerfile/"
],
"matchStrings": [
"(?:FROM\\s+)(?<depName>[\\S]+):(?<currentValue>[\\S]+)@(?<currentDigest>sha256:[a-f0-9]+)"
],
"versioningTemplate": "regex:^(?<compatibility>[\\S]*\\d+\\.\\d+(?:\\.\\d+)?(?:[\\S]*)?-alpine-?)(?<major>\\d+)\\.(?<minor>\\d+)(?:\\.(?<patch>\\d+))?$",
"datasourceTemplate": "docker"
}
],
"packageRules": [
{
"matchManagers": [
"nuget"
],
"matchUpdateTypes": [
"major"
],
"groupName": "Grouped major upgrades: {{depName}}",
"matchPackageNames": [
"//^([^\\.]+)//"
]
}
]
}