diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index bdf5af0dc2b4da4614d704ff128ae22bcaef3390..5f876c4e1909d37bbf269e03dcb6150a17f39bd2 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -31,6 +31,8 @@ variables:
   extends:
     - .adjust_image_names
     - .dind
+    - .production
+    - .staging
   image: ${CODE_REGISTRY}/ghsc/hazdev/cloud-formation/hazdev-build-runner:latest
   script:
     - docker build