diff --git a/templates/gitlab-ci-bash.yml b/templates/gitlab-ci-bash.yml
index 24a31ce1e5aedf0e0e9d75572fa7bbe4e052e835..a56f7d9c182a6014057c0fb1e910a354772fab96 100644
--- a/templates/gitlab-ci-bash.yml
+++ b/templates/gitlab-ci-bash.yml
@@ -247,7 +247,7 @@ stages:
     - name: "$TBC_TRACKING_IMAGE"
       command: ["--service", "bash", "3.2.1" ]
   before_script:
-    - *bash-scripts
+    - !reference [.bash-scripts]
     - install_ca_certs "${CUSTOM_CA_CERTS:-$DEFAULT_CA_CERTS}"
 
 bash-shellcheck: