Skip to content

Commit 45155ff

Browse files
committed
Update docker-compose.build.yml
1 parent a9bba1e commit 45155ff

File tree

1 file changed

+4
-28
lines changed

1 file changed

+4
-28
lines changed

docker-compose.build.yml

Lines changed: 4 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,6 @@ services:
2323
rapid:
2424
image: ${WS_DOCKER_REGISTRY}/workspaces-rapid:${ENV}
2525
build:
26-
cache_from:
27-
- type=gha
28-
cache_to:
29-
- type=gha
3026
context: rapid
3127

3228
rapid_tag:
@@ -36,10 +32,6 @@ services:
3632
pathways-editor:
3733
image: ${WS_DOCKER_REGISTRY}/workspaces-pathways-editor:${ENV}
3834
build:
39-
cache_from:
40-
- type=gha
41-
cache_to:
42-
- type=gha
4335
context: pathways-editor
4436

4537
pathways-editor_tag:
@@ -49,10 +41,6 @@ services:
4941
osm-log-proxy:
5042
image: ${WS_DOCKER_REGISTRY}/workspaces-osm-log-proxy:${ENV}
5143
build:
52-
cache_from:
53-
- type=gha
54-
cache_to:
55-
- type=gha
5644
context: osm-log-proxy
5745

5846
osm-log-proxy_tag:
@@ -62,10 +50,6 @@ services:
6250
osm-web:
6351
image: ${WS_DOCKER_REGISTRY}/workspaces-osm-web:${ENV}
6452
build:
65-
cache_from:
66-
- type=gha
67-
cache_to:
68-
- type=gha
6953
context: osm-web
7054

7155
osm-web_tag:
@@ -76,9 +60,9 @@ services:
7660
image: ${WS_DOCKER_REGISTRY}/workspaces-osm-rails:${ENV}
7761
build:
7862
cache_from:
79-
- type=gha
63+
- type=registry,${WS_DOCKER_REGISTRY}/workspaces-osm-rails:buildcache
8064
cache_to:
81-
- type=gha
65+
- type=registry,${WS_DOCKER_REGISTRY}/workspaces-osm-rails:buildcache,mode=max
8266
context: osm-rails
8367
dockerfile: Dockerfile.prod
8468

@@ -90,9 +74,9 @@ services:
9074
image: ${WS_DOCKER_REGISTRY}/workspaces-osm-cgimap:${ENV}
9175
build:
9276
cache_from:
93-
- type=gha
77+
- type=registry,${WS_DOCKER_REGISTRY}/workspaces-osm-cgimap:buildcache
9478
cache_to:
95-
- type=gha
79+
- type=registry,${WS_DOCKER_REGISTRY}/workspaces-osm-cgimap:buildcache,mode=max
9680
context: osm-cgimap
9781
dockerfile: docker/ubuntu/Dockerfile2404
9882

@@ -103,10 +87,6 @@ services:
10387
tasks-frontend:
10488
image: ${WS_DOCKER_REGISTRY}/workspaces-tasks-frontend:${ENV}
10589
build:
106-
cache_from:
107-
- type=gha
108-
cache_to:
109-
- type=gha
11090
context: tasking-manager
11191
dockerfile: ./scripts/docker/Dockerfile.frontend
11292
args:
@@ -121,10 +101,6 @@ services:
121101
tasks-backend:
122102
image: ${WS_DOCKER_REGISTRY}/workspaces-tasks-backend:${ENV}
123103
build:
124-
cache_from:
125-
- type=gha
126-
cache_to:
127-
- type=gha
128104
context: tasking-manager
129105
dockerfile: ./scripts/docker/Dockerfile.backend
130106
target: prod

0 commit comments

Comments
 (0)