[gnome-runtime-images] Fix the way we tag the old image ref



commit 29978517946fdd21190869053f1284235e8e594e
Author: Jordan Petridis <jordan centricular com>
Date:   Thu Jul 7 20:35:28 2022 +0300

    Fix the way we tag the old image ref

 .gitlab-ci.yml | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index bf6ee82..8aa9dd1 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -32,8 +32,8 @@ default:
 
               # Tag `x86_64` also without the ARCH to not break the old path
               if [ $ARCH == "x86_64" ]; then
-                  buildah tag $DOCKERIMAGE ${DOCKERIMAGE/\/x86_64/}
-                  buildah push ${DOCKERIMAGE/\/x86_64/}
+                  buildah tag $DOCKERIMAGE $DOCKERIMAGE_OLD
+                  buildah push $DOCKERIMAGE_OLD
               fi
           fi
     after_script:
@@ -54,6 +54,7 @@ base:
     extends: ['.dockerfile_template', '.vars_x86_64']
     variables:
         DOCKERIMAGE: ${CI_REGISTRY_IMAGE}/${ARCH}/base
+        DOCKERIMAGE_OLD: ${CI_REGISTRY_IMAGE}/base
         DOCKERFILE: base
 
 base:aarch64:
@@ -68,6 +69,7 @@ flat-manager-client:
     extends: ['.dockerfile_template', '.vars_x86_64']
     variables:
         DOCKERIMAGE: ${CI_REGISTRY_IMAGE}/${ARCH}/flat-manager-client
+        DOCKERIMAGE_OLD: ${CI_REGISTRY_IMAGE}/flat-manager-client
         DOCKERFILE: flat-manager-client/Dockerfile
 
 flat-manager-client:aarch64:


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]