Skip to content

Commit fc7bd41

Browse files
committed
Add renovate configuration
1 parent 04defd7 commit fc7bd41

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

renovate.json

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3+
"extends": [
4+
"config:base"
5+
],
6+
"regexManagers": [
7+
{
8+
"fileMatch": ["(^|/)rockcraft.yaml$"],
9+
"description": "Update base image references",
10+
"matchStringsStrategy": "any",
11+
"matchStrings": ["# renovate: build-base:\\s+(?<depName>[^:]*):(?<currentValue>[^\\s@]*)(@(?<currentDigest>sha256:[0-9a-f]*))?",
12+
"# renovate: base:\\s+(?<depName>[^:]*):(?<currentValue>[^\\s@]*)(@(?<currentDigest>sha256:[0-9a-f]*))?"],
13+
"datasourceTemplate": "docker",
14+
"versioningTemplate": "ubuntu"
15+
}
16+
],
17+
"packageRules": [
18+
{
19+
"enabled": true,
20+
"matchDatasources": [
21+
"docker"
22+
],
23+
"pinDigests": true
24+
},
25+
{
26+
"matchFiles": ["rockcraft.yaml"],
27+
"matchUpdateTypes": ["major", "minor", "patch"],
28+
"enabled": false
29+
}
30+
]
31+
}
32+

0 commit comments

Comments
 (0)