Skip to content
Snippets Groups Projects
Commit 02c45bdc authored by jurgenhaas's avatar jurgenhaas
Browse files

#2 Use separate cache for production build

parent ebb0c54e
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment