From 5ae45a8f6d8209394c040384b52c68b84e5e5cc3 Mon Sep 17 00:00:00 2001
From: Daniel <d.hornung@indiscale.com>
Date: Fri, 17 Jun 2022 17:02:25 +0200
Subject: [PATCH] FIX: Don't inherit all variables (especially not
 CI_REGISTRY_IMAGE).

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

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 28602932..51c4486b 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -65,6 +65,9 @@ unittest:
 # Trigger building of server image and integration tests
 trigger_build:
   stage: deploy
+  inherit:
+    variables:
+      - DEPLOY_REF
   variables:
     # Renaming variables.
     F_BRANCH: $CI_COMMIT_REF_NAME
-- 
GitLab