diff --git a/test-and-deploy.yml b/test-and-deploy.yml
index c4c484380396ee138380f6b595dbc286f452bf10..e9a76074bb953e5d4a556447a5caa1156d31297a 100644
--- a/test-and-deploy.yml
+++ b/test-and-deploy.yml
@@ -58,6 +58,10 @@ stages:
   key: build-${COMPOSE_PROJECT_NAME}
   <<: *cache_paths
 
+.cache_prod: &cache_prod
+  key: build-prod-${COMPOSE_PROJECT_NAME}
+  <<: *cache_paths
+
 .prerequisites:
   stage: validation
   tags:
@@ -102,7 +106,7 @@ stages:
   tags:
     - default
   cache:
-    <<: *cache_default
+    <<: *cache_prod
     policy: pull-push
   script: |
     if [[ -n $SSH_PRIVATE_KEY ]]; then