Skip to content

Commit 920c060

Browse files
chore: configure Renovate (#141)
Configure renovate to update the Debian images used as base for the minimal and standard container images. Signed-off-by: Francesco Canovai <[email protected]> Co-authored-by: Francesco Canovai <[email protected]>
1 parent 980c2fa commit 920c060

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

renovate.json

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3+
"extends": ["config:recommended", "docker:pinDigests"],
4+
"enabledManagers": ["custom.regex"],
5+
"customManagers": [
6+
{
7+
"customType": "regex",
8+
"fileMatch": ["docker-bake.hcl"],
9+
"matchStrings": [
10+
"\\/\\/\\s*renovate:\\s*datasource=(?<datasource>.*?)\\s+(versioning=(?<versioning>.*?))?\\s+\"(?<depName>[^:]+):(?<currentValue>[^\\s@]+)(@(?<currentDigest>sha256:[0-9a-f]*))?\""
11+
],
12+
"versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}"
13+
}
14+
],
15+
"packageRules": [
16+
{
17+
"matchPackageNames": ["debian"],
18+
"groupName": "Debian base images"
19+
}
20+
]
21+
}

0 commit comments

Comments
 (0)