From bef6d5631e7926f73150a4a324a46032fc7108ae Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?R=C3=A9mi=20-=20Le=20Filament?= <remi@le-filament.com>
Date: Mon, 13 Feb 2023 13:56:53 +0100
Subject: [PATCH] [UPD] backup docker image source

---
 templates/backup.yaml.j2            | 3 +--
 templates/backup2.yaml.j2           | 3 +--
 templates/restore-odootest.yaml.j2  | 3 +--
 templates/restore2-odootest.yaml.j2 | 3 +--
 4 files changed, 4 insertions(+), 8 deletions(-)

diff --git a/templates/backup.yaml.j2 b/templates/backup.yaml.j2
index b55b5cf..48e697d 100644
--- a/templates/backup.yaml.j2
+++ b/templates/backup.yaml.j2
@@ -1,8 +1,7 @@
 version: "2.1"
 services:
     backup_odoo:
-        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
+        image: ghcr.io/tecnativa/docker-duplicity-postgres:master
         hostname: {{ inventory_hostname_short | lower | regex_replace('_','') }}-odoo
         environment:
             DST: "swift://odoo_{{ inventory_hostname|lower }}"
diff --git a/templates/backup2.yaml.j2 b/templates/backup2.yaml.j2
index 12c9801..b17967d 100644
--- a/templates/backup2.yaml.j2
+++ b/templates/backup2.yaml.j2
@@ -1,8 +1,7 @@
 version: "2.1"
 services:
     backup_odoo:
-        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
+        image: ghcr.io/tecnativa/docker-duplicity-postgres:master
         hostname: {{ inventory_hostname_short | lower | regex_replace('_','') }}-odoo
         environment:
             DST: "swift://odoo_{{ inventory_hostname|lower }}"
diff --git a/templates/restore-odootest.yaml.j2 b/templates/restore-odootest.yaml.j2
index d2bdb51..356dade 100644
--- a/templates/restore-odootest.yaml.j2
+++ b/templates/restore-odootest.yaml.j2
@@ -1,8 +1,7 @@
 version: "2.1"
 services:
     restore_test:
-        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
+        image: ghcr.io/tecnativa/docker-duplicity-postgres:master
         hostname: {{ inventory_hostname_short | lower | regex_replace('_','') }}-odoo
         networks:
             - {{ item.dir }}_default
diff --git a/templates/restore2-odootest.yaml.j2 b/templates/restore2-odootest.yaml.j2
index fc64645..391842d 100644
--- a/templates/restore2-odootest.yaml.j2
+++ b/templates/restore2-odootest.yaml.j2
@@ -1,8 +1,7 @@
 version: "2.1"
 services:
     restore_test:
-        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
+        image: ghcr.io/tecnativa/docker-duplicity-postgres:master
         hostname: {{ inventory_hostname_short | lower | regex_replace('_','') }}-odoo
         networks:
             - {{ item.dir }}_default
-- 
GitLab