@@ -3,6 +3,10 @@ services:
33 image : ${WS_DOCKER_REGISTRY}/workspaces-frontend:${ENV}
44 build :
55 context : frontend
6+ cache_from :
7+ - type=registry,ref=${WS_DOCKER_REGISTRY}/workspaces-frontend:buildcache
8+ cache_to :
9+ - type=registry,ref=${WS_DOCKER_REGISTRY}/workspaces-frontend:buildcache,mode=max
610 args :
711 VITE_TDEI_API_URL : ${WS_TDEI_API_URL}
812 VITE_TDEI_USER_API_URL : ${WS_TDEI_BACKEND_URL}
@@ -19,6 +23,10 @@ services:
1923 rapid :
2024 image : ${WS_DOCKER_REGISTRY}/workspaces-rapid:${ENV}
2125 build :
26+ cache_from :
27+ - type=registry,ref=${WS_DOCKER_REGISTRY}/workspaces-rapid:buildcache
28+ cache_to :
29+ - type=registry,ref=${WS_DOCKER_REGISTRY}/workspaces-rapid:buildcache,mode=max
2230 context : rapid
2331
2432 rapid_tag :
@@ -28,6 +36,10 @@ services:
2836 pathways-editor :
2937 image : ${WS_DOCKER_REGISTRY}/workspaces-pathways-editor:${ENV}
3038 build :
39+ cache_from :
40+ - type=registry,ref=${WS_DOCKER_REGISTRY}/workspaces-pathways-editor:buildcache
41+ cache_to :
42+ - type=registry,ref=${WS_DOCKER_REGISTRY}/workspaces-pathways-editor:buildcache,mode=max
3143 context : pathways-editor
3244
3345 pathways-editor_tag :
@@ -37,6 +49,10 @@ services:
3749 osm-log-proxy :
3850 image : ${WS_DOCKER_REGISTRY}/workspaces-osm-log-proxy:${ENV}
3951 build :
52+ cache_from :
53+ - type=registry,ref=${WS_DOCKER_REGISTRY}/workspaces-osm-log-proxy:buildcache
54+ cache_to :
55+ - type=registry,ref=${WS_DOCKER_REGISTRY}/workspaces-osm-log-proxy:buildcache,mode=max
4056 context : osm-log-proxy
4157
4258 osm-log-proxy_tag :
@@ -46,6 +62,10 @@ services:
4662 osm-web :
4763 image : ${WS_DOCKER_REGISTRY}/workspaces-osm-web:${ENV}
4864 build :
65+ cache_from :
66+ - type=registry,ref=${WS_DOCKER_REGISTRY}/workspaces-osm-web:buildcache
67+ cache_to :
68+ - type=registry,ref=${WS_DOCKER_REGISTRY}/workspaces-osm-web:buildcache,mode=max
4969 context : osm-web
5070
5171 osm-web_tag :
@@ -83,6 +103,10 @@ services:
83103 tasks-frontend :
84104 image : ${WS_DOCKER_REGISTRY}/workspaces-tasks-frontend:${ENV}
85105 build :
106+ cache_from :
107+ - type=registry,ref=${WS_DOCKER_REGISTRY}/workspaces-tasks-frontend:buildcache
108+ cache_to :
109+ - type=registry,ref=${WS_DOCKER_REGISTRY}/workspaces-tasks-frontend:buildcache,mode=max
86110 context : tasking-manager
87111 dockerfile : ./scripts/docker/Dockerfile.frontend
88112 args :
@@ -97,6 +121,10 @@ services:
97121 tasks-backend :
98122 image : ${WS_DOCKER_REGISTRY}/workspaces-tasks-backend:${ENV}
99123 build :
124+ cache_from :
125+ - type=registry,ref=${WS_DOCKER_REGISTRY}/workspaces-tasks-backend:buildcache
126+ cache_to :
127+ - type=registry,ref=${WS_DOCKER_REGISTRY}/workspaces-tasks-backend:buildcache,mode=max
100128 context : tasking-manager
101129 dockerfile : ./scripts/docker/Dockerfile.backend
102130 target : prod
0 commit comments