diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d976a9350f942943ab6ea7f4592f90f5aa6af754..71310ae6262d2ca2509e4f4a13c13c274cb354db 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -73,7 +73,7 @@ spack:install_compilers:
     reports:
       junit: spack-install.xml
     paths:
-      - compilers_spec.json
+      - /stack/**
 
   needs:
     - job: spack:setup
@@ -91,6 +91,7 @@ spack:concretize:
   artifacts:
     paths:
       - spack.lock
+      - /stack/**
 
 spack:install:
   stage: install