diff --git a/.github/renovate.json b/.github/renovate.json index f7b20801..c4a5b3fc 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -7,8 +7,9 @@ "github-actions", "regex" ], - "regexManagers": [ + "customManagers": [ { + "customType": "regex", "fileMatch": [ "^docker-compose\\.yml$", "^relay/docker-compose\\.yml$" @@ -19,6 +20,17 @@ "datasourceTemplate": "github-releases", "depNameTemplate": "ObolNetwork/charon", "versioningTemplate": "semver" + }, + { + "customType": "regex", + "fileMatch": [ + "(^|/)docker-compose\\.ya?ml$", + "(^|/)compose[^/]*\\.ya?ml$" + ], + "matchStrings": [ + "image:\\s*(?[^:\\s]+):\\$\\{[A-Z_]+:-(?[^}]+)\\}" + ], + "datasourceTemplate": "docker" } ], "packageRules": [ @@ -26,15 +38,6 @@ "matchManagers": [ "github-actions" ], - "matchDepTypes": [ - "github-actions" - ], - "matchFileNames": [ - ".github/workflows/**" - ], - "schedule": [ - "every weekend" - ], "labels": [ "renovate/github-actions" ], @@ -49,8 +52,16 @@ ], "labels": [ "renovate/charon" + ] + }, + { + "matchManagers": [ + "regex" + ], + "labels": [ + "renovate/docker" ], - "groupName": "Charon image updates" + "groupName": "Docker image updates" } ] }