From 04b787fd7c59230e0aeddf150d3636c40630dd55 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?R=C3=A9mi=20-=20Le=20Filament?= <remi@le-filament.com>
Date: Mon, 8 Aug 2022 09:42:44 +0200
Subject: [PATCH] [ENH] update backup docker image

---
 templates/backup.yaml.j2  | 3 ++-
 templates/backup2.yaml.j2 | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/templates/backup.yaml.j2 b/templates/backup.yaml.j2
index 8a42ad0..ad661c9 100644
--- a/templates/backup.yaml.j2
+++ b/templates/backup.yaml.j2
@@ -1,7 +1,8 @@
 version: "2.1"
 services:
     backup_gitlab:
-        image: tecnativa/duplicity:postgres
+        image: remifilament/duplicity:postgres # Until https://github.com/Tecnativa/docker-duplicity/pull/324 is merged
+        # image: ghcr.io/tecnativa/docker-duplicity-postgres:master # Once https://github.com/Tecnativa/docker-duplicity/pull/324 is merged
         hostname: {{ inventory_hostname_short | lower | regex_replace('_','') }}-gitlab
         environment:
             DST: "swift://gitlab_{{ inventory_hostname|lower }}"
diff --git a/templates/backup2.yaml.j2 b/templates/backup2.yaml.j2
index ec54cac..02f16d0 100644
--- a/templates/backup2.yaml.j2
+++ b/templates/backup2.yaml.j2
@@ -1,7 +1,8 @@
 version: "2.1"
 services:
     backup_gitlab:
-        image: tecnativa/duplicity:postgres
+        image: remifilament/duplicity:postgres # Until https://github.com/Tecnativa/docker-duplicity/pull/324 is merged
+        # image: ghcr.io/tecnativa/docker-duplicity-postgres:master # Once https://github.com/Tecnativa/docker-duplicity/pull/324 is merged
         hostname: {{ inventory_hostname_short | lower | regex_replace('_','') }}-gitlab
         environment:
             DST: "swift://gitlab_{{ inventory_hostname|lower }}"
-- 
GitLab