From 858e063e5e97518b87f1b2d36fcb4f1b9f2a086b Mon Sep 17 00:00:00 2001
From: Sheogorath <sheogorath@shivering-isles.com>
Date: Thu, 31 Aug 2023 19:56:14 +0200
Subject: [PATCH] ci(immich): Add renovate integration for image updates

---
 apps/base/immich/release.yaml | 1 +
 renovate.json                 | 6 ++++++
 2 files changed, 7 insertions(+)

diff --git a/apps/base/immich/release.yaml b/apps/base/immich/release.yaml
index d120a603a..edef6e178 100644
--- a/apps/base/immich/release.yaml
+++ b/apps/base/immich/release.yaml
@@ -62,6 +62,7 @@ data:
       PGSSLROOTCERT: /ca/ca.crt
       NODE_EXTRA_CA_CERTS: /ca/ca.crt
     image:
+      # renovate: datasource=git-tags depName=https://github.com/immich-app/immich.git versioning=semver
       tag: v1.75.2
     immich:
       persistence:
diff --git a/renovate.json b/renovate.json
index e744fecc6..8541d3d3b 100644
--- a/renovate.json
+++ b/renovate.json
@@ -32,6 +32,12 @@
       "datasourceTemplate": "docker",
       "versioningTemplate": "docker"
     },
+    {
+      "fileMatch": ["\\.yaml$"],
+      "matchStrings": [
+        "# renovate: datasource=(?<datasource>[a-z-.]+?) depName=(?<depName>[^\\s]+?)(?: (lookupName|packageName)=(?<packageName>[^\\s]+?))?(?: versioning=(?<versioning>[^\\s]+?))?(?: registryUrl=(?<registryUrl>[^\\s]+?))?\\s+\\S+?: \"?(?<currentValue>.+?)\"?\\s"
+      ]
+    },
     {
       "fileMatch": ["terraform/hedgedoc-demo/templates/docker-compose.tpl$"],
       "matchStrings": [
-- 
GitLab