From 3325149c4e0ab6c634d6bc8cb9e0023cde77e9a7 Mon Sep 17 00:00:00 2001 From: Alex Skrypnyk Date: Fri, 3 May 2024 07:47:12 +1000 Subject: [PATCH] Added Renovate support for updating container images set through variables in `docker-compose.yml`. --- renovate.json | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/renovate.json b/renovate.json index c4bf1180e..93a40d63f 100644 --- a/renovate.json +++ b/renovate.json @@ -68,5 +68,15 @@ "schedule": ["before 3am"], "matchManagers": ["github-actions"] } + ], + "regexManagers": [ + { + "fileMatch": ["^docker-compose\\.yml$"], + "matchStrings": [ + "[^:]+:\\s*\"?\\${(?:.*):-(?.*?):(?.*?)(?:\\@sha256:.*)?}\"?" + ], + "datasourceTemplate": "docker", + "versioningTemplate": "docker" + } ] }