Skip to content

Commit a5d06a9

Browse files
ci: adding Renovate GitHub Workflow Earthly updating (#32)
1 parent 879f6b1 commit a5d06a9

File tree

1 file changed

+17
-2
lines changed

1 file changed

+17
-2
lines changed

renovate.json

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,18 @@
1313
"customManagers": [
1414
{
1515
"customType": "regex",
16-
"fileMatch": ["^Earthfile$"],
16+
"fileMatch": [
17+
"^Earthfile$"
18+
],
1719
"matchStrings": [
1820
"# renovate: datasource=(?<datasource>.*?) depName=(?<depName>.*?)( versioning=(?<versioning>.*?))?\\s.+_VERSION=\"(?<currentValue>.*?)\"\\s"
1921
]
2022
},
2123
{
2224
"customType": "regex",
23-
"fileMatch": ["^Earthfile$"],
25+
"fileMatch": [
26+
"^Earthfile$"
27+
],
2428
"matchStrings": [
2529
"# renovate: datasource=repology packageName=alpine_(?<currentValue>\\d+[._]\\d+)"
2630
],
@@ -29,6 +33,17 @@
2933
"depNameTemplate": "alpine",
3034
"versioningTemplate": "regex:^(?<major>\\d+)[._](?<minor>\\d+)$",
3135
"autoReplaceStringTemplate": "# renovate: datasource=repology packageName=alpine_{{{newMajor}}}_{{{newMinor}}}"
36+
},
37+
{
38+
"customType": "regex",
39+
"fileMatch": [
40+
"^[.]github/workflows/"
41+
],
42+
"matchStrings": [
43+
".*version: (?<currentValue>.*?)\\s"
44+
],
45+
"datasourceTemplate": "docker",
46+
"depNameTemplate": "earthly/earthly"
3247
}
3348
]
3449
}

0 commit comments

Comments
 (0)