From 79808bbeb62c99f969a8683be3b2cde6625dc6e7 Mon Sep 17 00:00:00 2001
From: Thibault Debatty <t.debatty@cylab.be>
Date: Tue, 4 Jun 2024 10:54:37 +0200
Subject: [PATCH] update variables definition to match docker-compose.tmpl

---
 .gitlab-ci.yml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 94b1c03..292b4fc 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -25,10 +25,10 @@ build:
 deploy:
   # Variable can be passed to the downstream pipeline
   # But we need to set them explicitly
-  # Or we can use the .env file
+  # https://docs.gitlab.com/ee/ci/pipelines/downstream_pipelines.html?tab=Multi-project+pipeline#pass-a-predefined-variable
   variables:
-    TEMPLATE_PATH: "webterminal"
-    COMMIT_SHA: $CI_COMMIT_SHA
+    IMAGE_TAG: $CI_COMMIT_SHA
+    IMAGE_REGISTRY: $CI_REGISTRY_IMAGE
   trigger:
     project: 'cylab/play/deploy/dokos-webterminal'
 
-- 
GitLab