forked from slauger/hugo-gitops-pipeline
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrenovate.json
More file actions
40 lines (40 loc) · 1.04 KB
/
Copy pathrenovate.json
File metadata and controls
40 lines (40 loc) · 1.04 KB
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
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended",
":semanticCommits"
],
"packageRules": [
{
"matchManagers": ["dockerfile"],
"groupName": "docker base images"
},
{
"matchManagers": ["github-actions"],
"groupName": "github actions",
"automerge": true
},
{
"matchManagers": ["npm"],
"groupName": "npm dependencies",
"automerge": true
}
],
"customManagers": [
{
"customType": "regex",
"fileMatch": ["images/builder/Dockerfile"],
"matchStrings": ["ARG HUGO_VERSION=(?<currentValue>\\d+\\.\\d+\\.\\d+)"],
"depNameTemplate": "gohugoio/hugo",
"datasourceTemplate": "github-releases",
"extractVersionTemplate": "^v(?<version>.*)$"
},
{
"customType": "regex",
"fileMatch": ["\\.ya?ml$"],
"matchStrings": ["pip install gitops-image-replacer==(?<currentValue>[^\\s]+)"],
"depNameTemplate": "gitops-image-replacer",
"datasourceTemplate": "pypi"
}
]
}