Skip to content

Commit c13d956

Browse files
ci: Renovate update Rust's Alpine version regex (#148)
1 parent e6cb95a commit c13d956

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/renovate.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,17 @@
3131
],
3232
"datasourceTemplate": "github-tags",
3333
"depNameTemplate": "earthly/earthly"
34+
},
35+
{
36+
"customType": "regex",
37+
"fileMatch": [
38+
"^Earthfile$"
39+
],
40+
"matchStrings": [
41+
"FROM\\s+(?<depName>[\\S]+?):(?<currentValue>[^@\\s]+)(?:@(?<currentDigest>sha256:[a-f0-9]+))?"
42+
],
43+
"versioningTemplate": "regex:^(?<compatibility>[\\S]*\\d+\\.\\d+(?:\\.\\d+)?(?:[\\S]*)?-alpine-?)(?<major>\\d+)\\.(?<minor>\\d+)(?:\\.(?<patch>\\d+))?$",
44+
"datasourceTemplate": "docker",
3445
}
3546
]
3647
}

0 commit comments

Comments
 (0)