-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdefault.json
30 lines (30 loc) · 1.19 KB
/
default.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
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"description": "",
"extends": ["config:recommended", "customManagers:dockerfileVersions"],
"ignorePaths": ["**/node_modules/**", "**/bower_components/**"],
"customManagers": [
{
"customType": "regex",
"fileMatch": [".*"],
"matchStrings": [
"renovate: datasource=(?<datasource>[a-z-]+?) depName=(?<depName>\\S+?)(?: packageName=(?<packageName>\\S+?))?(?: versioning=(?<versioning>\\S+?))?(?: registryUrl=(?<registryUrl>\\S+?))?\\n.*(?:VERSION|version|TAG|tag)\\s*[?]?[=:]\\s*\"?(?<currentValue>[^\"\\s]+)\"?"
],
"versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}"
},
{
"customType": "regex",
"fileMatch": [".*"],
"matchStrings": [
"# renovate-image:( versioning=(?<versioning>.*?))?\\n.*?(IMAGE|Image|image)\\s*[=:]\\s*\"?(?<depName>.+?):(?<currentValue>\\S+?)\"?(\\s|$)"
],
"datasourceTemplate": "docker",
"versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}docker{{/if}}"
}
],
"postUpdateOptions": [
"gomodMassage",
"gomodTidy",
"gomodUpdateImportPaths"
]
}