diff --git a/spack.yaml b/spack.yaml
index 40c30d1acce68d011fcddfa909e37385762e78f8..dd62591d3c58f36976a348557c266eabe7e2fea9 100644
--- a/spack.yaml
+++ b/spack.yaml
@@ -89,7 +89,6 @@ spack:
         - git clone ${SPACK_REPO}
         - pushd spack && git checkout ${SPACK_CHECKOUT_VERSION} && popd
         - . "./spack/share/spack/setup-env.sh"
-      after_script:
         - tar czvf binaryArtifacts.tar.gz ${CI_PROJECT_DIR}/jobs_scratch_dir/mirror/build_cache/*
       artifacts:
        paths: