[fractal/barthalion/gnome-runtime-images-quay] Use one variable for the main image



commit c4d0bc3bb5740bd4e5d18dde895f995c639c0ff4
Author: Kévin Commaille <46488-kcommaille users noreply gitlab gnome org>
Date:   Wed Jul 27 11:25:27 2022 +0000

    Use one variable for the main image

 .gitlab-ci.yml | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index e6ca0b761..cc2b1fdb9 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -8,6 +8,7 @@ stages:
 variables:
   FLATPAK_MODULE: "fractal"
   RUNTIME_REPO: "https://nightly.gnome.org/gnome-nightly.flatpakrepo";
+  CI_IMAGE: "quay.io/gnome_infrastructure/gnome-runtime-images:gnome-42"
 
 .hack:
   variables:
@@ -20,7 +21,7 @@ variables:
     APP_ID: "org.gnome.Fractal.Devel"  
 
 .build_template:
-  image: quay.io/gnome_infrastructure/gnome-runtime-images:gnome-42
+  image: '${CI_IMAGE}'
   script:
     - >
       xvfb-run -a -s "-screen 0 1024x768x24"
@@ -42,13 +43,11 @@ variables:
 
 .build_x86_64:
   extends: .build_template
-  image: '${CI_IMAGE}'
   tags:
     - flatpak
 
 .build_aarch64:
   extends: .build_template
-  image: '${CI_IMAGE}'
   tags:
     - flatpak-aarch64
 
@@ -83,7 +82,7 @@ checks:
 # Lint the code
 cargo-clippy:
   extends: .hack
-  image: '${CI_IMAGE_X86_64}'
+  image: '${CI_IMAGE}'
   stage: check
   tags:
     - flatpak
@@ -132,7 +131,7 @@ build-aarch64:
 # Only on main
 pages:
   extends: .devel
-  image: '${CI_IMAGE_X86_64}'
+  image: '${CI_IMAGE}'
   stage: doc
   tags:
     - flatpak


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