From 1d8f232c2847853134842a84e50cf86e517c7226 Mon Sep 17 00:00:00 2001
From: David Kilias <david.kilias@gmail.com>
Date: Sat, 2 Dec 2023 19:12:44 +0000
Subject: [PATCH] feat: add renovate config to automatically update the docker
 compose version based on the latest published release on github

---
 renovate.json | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/renovate.json b/renovate.json
index 09e1a0a..25f09f6 100644
--- a/renovate.json
+++ b/renovate.json
@@ -11,6 +11,16 @@
       "matchStrings": [
         "image: (?<depName>.*?):(?<currentValue>.*?)(@(?<currentDigest>sha256:.*?))?\\s"
       ]
+    },
+    {
+      "fileMatch": [
+        "^roles/docker_setup/defaults/main.yml$"
+      ],
+      "datasourceTemplate": "github-release",
+      "versioningTemplate": "semver",
+      "matchStrings": [
+        "docker_compose_version: (?<currentValue>.*?)\\s"
+      ]
     }
   ],
   "packageRules": [