diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 46a06fd40ac678a40eeff637d1a1c8fa7282e0ae..9a10ee538920da4394152e14e51fe7d6d68223a6 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -34,6 +34,8 @@ variables:
   tags:
     - ${environment}
     - stack
+  variables:
+    environment: ${environment}
 
 # ------------------------------------------------------------------------------
 # ------------------------------------------------------------------------------
@@ -90,7 +92,7 @@ spack:install_compilers:
       fi
   artifacts:
     paths:
-      - ${stack}/environement
+      - ${stack}/environment
     reports:
       junit: spack-install-*.xml
   needs:
@@ -110,7 +112,7 @@ spack:concretize:
     - job: spack:install_compilers
   artifacts:
     paths:
-      - ${stack}/environement
+      - ${stack}/environment
   timeout: 2h
 
 spack:install:
@@ -138,7 +140,7 @@ spack:install:
     - job: spack:concretize
   artifacts:
     paths:
-      - ${stack}/environement
+      - ${stack}//environment
     reports:
       junit: spack-install.xml
   timeout: 10h