From 19c7afeab986ed252cf5b57cce7ad6cf7018f8d5 Mon Sep 17 00:00:00 2001
From: Martin Weise <martin.weise@tuwien.ac.at>
Date: Mon, 8 Apr 2024 14:12:21 +0200
Subject: [PATCH] Updated Docker docs

---
 .docs/docker/_header.md | 15 +++++++--------
 .gitlab-ci.yml          |  2 ++
 2 files changed, 9 insertions(+), 8 deletions(-)

diff --git a/.docs/docker/_header.md b/.docs/docker/_header.md
index 456fb2c206..081bf9697c 100644
--- a/.docs/docker/_header.md
+++ b/.docs/docker/_header.md
@@ -2,21 +2,20 @@
 
 * **Maintained by**:
 
-  [the DBRepo Maintainers](https://gitlab.phaidra.org/fair-data-austria-db-repository/fda-services/-/graphs/dev)
+  [the DBRepo Maintainers](https://gitlab.phaidra.org/fair-data-austria-db-repository/fda-services/-/graphs/master)
 
 * **Where to get help**:
 
-  [the official documentation](https://www.ifs.tuwien.ac.at/infrastructures/dbrepo/latest/),
+  [the official documentation](https://www.ifs.tuwien.ac.at/infrastructures/dbrepo/),
 
 # Supported tags
 
-* [`1.3`](https://gitlab.phaidra.org/fair-data-austria-db-repository/fda-services/-/blob/master/dbrepo-DIR/Dockerfile/)
-* [`latest`](https://gitlab.phaidra.org/fair-data-austria-db-repository/fda-services/-/blob/dev/dbrepo-DIR/Dockerfile/)
+* [`1.4.x`](https://gitlab.phaidra.org/fair-data-austria-db-repository/fda-services/-/blob/release-__APP_VERSION__/dbrepo-DIR/Dockerfile/)
+* [`latest`](https://gitlab.phaidra.org/fair-data-austria-db-repository/fda-services/-/blob/release-latest/dbrepo-DIR/Dockerfile/)
 
 # Non-supported tags
 
-* `1.2`
-* `1.1`
+* [`1.3.0`](https://gitlab.phaidra.org/fair-data-austria-db-repository/fda-services/-/blob/release-1.3.0/dbrepo-DIR/Dockerfile/)
 
 # Quick reference (cont.)
 
@@ -30,8 +29,8 @@
 
 * **Source of this description:**
 
-  [docs repo's `.docs/docker` directory](https://gitlab.phaidra.org/fair-data-austria-db-repository/fda-services/-/tree/dev/.docs/docker)
-  ([history](https://gitlab.phaidra.org/fair-data-austria-db-repository/fda-services/-/commits/dev/.docs/docker))
+  [docs repo's `.docs/docker` directory](https://gitlab.phaidra.org/fair-data-austria-db-repository/fda-services/-/tree/release-__APP_VERSION__/.docs/docker)
+  ([history](https://gitlab.phaidra.org/fair-data-austria-db-repository/fda-services/-/commits/release-__APP_VERSION__/.docs/docker))
 
 # What is DBRepo?
 
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 5a87da0aa7..a70525dba8 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -508,7 +508,9 @@ docs-registry:
     refs:
       - /^release-.*/
   script:
+    - apk add sed
     - pip install -r ./requirements.txt
+    - find ./docs -type f -exec sed -i -e "s/__APP_VERSION__/${APP_VERSION}/g" {} \;
     - python3 .docs/docker/release.py
 
 release-images:
-- 
GitLab