Skip to content

Commit 9badcc3

Browse files
committed
update renovate to update using hash pinning
1 parent 423c331 commit 9badcc3

1 file changed

Lines changed: 12 additions & 1 deletion

File tree

.github/renovate.json

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,23 @@
22
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
33
"extends": ["github>bitwarden/renovate-config"],
44
"enabledManagers": [
5+
"custom.regex",
56
"dockerfile",
67
"docker-compose",
78
"github-actions",
89
"npm",
910
"nvm"
1011
],
12+
"customManagers": [
13+
{
14+
"customType": "regex",
15+
"fileMatch": ["(^|/)docker-compose\\.ya?ml$"],
16+
"matchStrings": [
17+
"image:\\s+(?<depName>[^@\\s]+)@(?<currentDigest>sha256:[a-f0-9]+)\\s+#\\s+(?<currentValue>\\S+)"
18+
],
19+
"datasourceTemplate": "docker"
20+
}
21+
],
1122
"packageRules": [
1223
{
1324
"groupName": "dockerfile minor",
@@ -16,7 +27,7 @@
1627
},
1728
{
1829
"groupName": "docker-compose minor",
19-
"matchManagers": ["docker-compose"],
30+
"matchManagers": ["docker-compose", "custom.regex"],
2031
"matchUpdateTypes": ["minor", "patch"]
2132
},
2233
{

0 commit comments

Comments
 (0)