-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker.json
59 lines (59 loc) · 2.12 KB
/
docker.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
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"description": ["Preset for use with all of thegeeklab/* docker images"],
"extends": ["github>thegeeklab/renovate-presets:base"],
"packageRules": [
{
"description": "Set semantic commit scope for docker digests",
"groupName": "docker digests",
"matchDatasources": ["docker"],
"matchUpdateTypes": ["pin", "digest"],
"semanticCommitScope": "docker"
},
{
"description": "Automerge digest updates (usually security patches)",
"groupName": "docker digests",
"extends": ["schedule:daily"],
"matchDatasources": ["docker"],
"matchPackageNames": [
"/^((amd64|arm32v7|arm64v8)/)?(python|alpine|node|docker|rockylinux|centos|debian|golang)/",
"/^thegeeklab/(alpine|nginx)/"
],
"matchUpdateTypes": ["pin", "digest"],
"automerge": true
},
{
"description": "Automerge helper tools for docker base images",
"groupName": "docker helper tools",
"extends": ["schedule:weekly"],
"matchDatasources": ["github-releases"],
"matchManagers": ["regex"],
"matchPackageNames": ["/^hairyhenderson/", "/^aptible/", "/^thegeeklab/"],
"matchUpdateTypes": ["minor", "patch"],
"automerge": true
},
{
"description": "Disable digest pinning for Compose (development only)",
"matchManagers": ["docker-compose"],
"pinDigests": false
},
{
"description": "Disable digest pinning for testdata",
"matchFileNames": ["testdata/**"],
"pinDigests": false
}
],
"customManagers": [
{
"customType": "regex",
"fileMatch": [
"(^|/|\\.)([Dd]ocker|[Cc]ontainer)file$",
"(^|/)([Dd]ocker|[Cc]ontainer)file[^/]*$"
],
"matchStrings": [
"# renovate: datasource=(?<datasource>\\S+) depName=(?<depName>\\S+)( versioning=(?<versioning>.*?))?\\nENV .*?_VERSION=\"\\${.*:-(?<currentValue>.*)}\"\\s",
"# renovate: datasource=(?<datasource>\\S+) depName=(?<depName>\\S+)( versioning=(?<versioning>.*?))?\\nENV .*?_VERSION=\"?(?<currentValue>[^${}\"\\s]+)\"?"
]
}
]
}