diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 4d4a113f995b4a6d410f6cb7f0c92152b39338e2..13ab1f1ac0133eb0b578056663bf30ff0df77011 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -2,6 +2,9 @@ stages:
     - build
     - run
 
+variables:
+    PARENT_PIPELINE_ID: $CI_PIPELINE_ID
+
 generate-pipeline:
     stage: build
     image: python:3.13-slim
@@ -9,8 +12,8 @@ generate-pipeline:
         - >-
             python build_pipeline_generator.py
             --ci-pipeline-dest child-pipeline.yml
-            --commit-sha $CI_COMMIT_SHA
-            --commit-tag $CI_COMMIT_TAG
+            --commit-sha "$CI_COMMIT_SHA"
+            --commit-tag "$CI_COMMIT_TAG"
             api job_controller
             $(find job_controller/jobs/ -mindepth 1 -maxdepth 1)