-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathrenovate.json
More file actions
19 lines (19 loc) · 821 Bytes
/
renovate.json
File metadata and controls
19 lines (19 loc) · 821 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"local>DanySK/renovate-config"
],
"regexManagers": [
{
"fileMatch": ["^.*\\.md$"],
"matchStrings": [
"(<!--\\s*from-branch:\\s*(?<branch>[^\\s]+)\\s*-->)?\\s*!\\[(?<imageName>.*)\\]\\(https:\\/\\/raw\\.githubusercontent\\.com\\/(?<slug>[^\\/]+\\/[^\\/]+)\\/(?<currentDigest>[^\\/]+)\\/(?<path>.+)\\)"
],
"depNameTemplate": "image {{#if imageName}}{{{imageName}}}{{else}}{{{slug}}}/{{{path}}}{{/if}}",
"currentValueTemplate": "{{#if branch}}{{{branch}}}{{else}}images{{/if}}",
"packageNameTemplate": "https://github.com/{{{slug}}}.git",
"datasourceTemplate": "git-refs",
"versioningTemplate": "git"
}
]
}