From 44344c31eb3e3d1afd135551ba15468632423cea Mon Sep 17 00:00:00 2001
From: Bastien Le Querrec <blq@laquadrature.net>
Date: Mon, 18 Mar 2024 14:01:31 +0100
Subject: [PATCH] =?UTF-8?q?ci:=20ne=20compile=20l'image=20que=20si=20le=20?=
 =?UTF-8?q?Dockerfile=20a=20chang=C3=A9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 .gitlab-ci.yml | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 8495522..409bb3a 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -24,10 +24,14 @@ docker:
   - docker push ${IMAGE_NAME}:latest
   image: docker:20.10.17
   allow_failure: true
+  only:
+    changes:
+      - Dockerfile-base
+
 
 install:
   stage: install
-  image: ${IMAGE_NAME}:latest
+  image: registry.git.laquadrature.net/bastien/raaspotter/base:latest
   tags:
   - unprivileged
   script:
@@ -43,7 +47,7 @@ install:
 
 test_pref13:
   stage: test
-  image: ${IMAGE_NAME}:latest
+  image: registry.git.laquadrature.net/bastien/raaspotter/base:latest
   tags:
   - unprivileged
   needs: [install]
@@ -71,7 +75,7 @@ test_pref13:
 
 test_pref35:
   stage: test
-  image: ${IMAGE_NAME}:latest
+  image: registry.git.laquadrature.net/bastien/raaspotter/base:latest
   tags:
   - unprivileged
   needs: [install]
@@ -99,7 +103,7 @@ test_pref35:
 
 test_ppparis:
   stage: test
-  image: ${IMAGE_NAME}:latest
+  image: registry.git.laquadrature.net/bastien/raaspotter/base:latest
   tags:
   - unprivileged
   needs: [install]
-- 
GitLab