diff --git a/.gitlab/ci/build.gitlab-ci.yml b/.gitlab/ci/build.gitlab-ci.yml
index 242b813c26d97389b32c77c78c60c41c996b0aa0..8bcbe5c125ac50b5b378c4300dac14f84b9f6e2e 100644
--- a/.gitlab/ci/build.gitlab-ci.yml
+++ b/.gitlab/ci/build.gitlab-ci.yml
@@ -5,7 +5,7 @@ build:ubuntu_cpp:
   image: n2d2-ci/ubuntu20.04/cpu:latest
 
   script:
-    - INSTALL_PATH="$PWD/install_cpp"
+    - INSTALL_PATH="$CI_PROJECT_DIR/install_cpp"
     - mkdir -p $INSTALL_PATH
     - mkdir -p build_cpp