Skip to content

Commit 015e218

Browse files
Copilotdannystaple
andcommitted
Update Docker cache to use service-specific registry refs for each service
Co-authored-by: dannystaple <426859+dannystaple@users.noreply.github.com>
1 parent 53e6d8d commit 015e218

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

docker-compose.ci.yml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,55 +2,55 @@ services:
22
serve:
33
build:
44
cache_from:
5-
- type=registry,ref=ghcr.io/orionrobots/orionrobots-site:cache
5+
- type=registry,ref=ghcr.io/orionrobots/orionrobots-site.serve:cache
66
cache_to:
7-
- type=registry,ref=ghcr.io/orionrobots/orionrobots-site:cache,mode=max
7+
- type=registry,ref=ghcr.io/orionrobots/orionrobots-site.serve:cache,mode=max
88

99
dist:
1010
build:
1111
cache_from:
12-
- type=registry,ref=ghcr.io/orionrobots/orionrobots-site:cache
12+
- type=registry,ref=ghcr.io/orionrobots/orionrobots-site.dist:cache
1313
cache_to:
14-
- type=registry,ref=ghcr.io/orionrobots/orionrobots-site:cache,mode=max
14+
- type=registry,ref=ghcr.io/orionrobots/orionrobots-site.dist:cache,mode=max
1515

1616
build:
1717
build:
1818
cache_from:
19-
- type=registry,ref=ghcr.io/orionrobots/orionrobots-site:cache
19+
- type=registry,ref=ghcr.io/orionrobots/orionrobots-site.build:cache
2020
cache_to:
21-
- type=registry,ref=ghcr.io/orionrobots/orionrobots-site:cache,mode=max
21+
- type=registry,ref=ghcr.io/orionrobots/orionrobots-site.build:cache,mode=max
2222

2323
staging:
2424
build:
2525
cache_from:
26-
- type=registry,ref=ghcr.io/orionrobots/orionrobots-site:cache
26+
- type=registry,ref=ghcr.io/orionrobots/orionrobots-site.staging:cache
2727
cache_to:
28-
- type=registry,ref=ghcr.io/orionrobots/orionrobots-site:cache,mode=max
28+
- type=registry,ref=ghcr.io/orionrobots/orionrobots-site.staging:cache,mode=max
2929

3030
test:
3131
build:
3232
cache_from:
33-
- type=registry,ref=ghcr.io/orionrobots/orionrobots-site:cache
33+
- type=registry,ref=ghcr.io/orionrobots/orionrobots-site.test:cache
3434
cache_to:
35-
- type=registry,ref=ghcr.io/orionrobots/orionrobots-site:cache,mode=max
35+
- type=registry,ref=ghcr.io/orionrobots/orionrobots-site.test:cache,mode=max
3636

3737
shell:
3838
build:
3939
cache_from:
40-
- type=registry,ref=ghcr.io/orionrobots/orionrobots-site:cache
40+
- type=registry,ref=ghcr.io/orionrobots/orionrobots-site.shell:cache
4141
cache_to:
42-
- type=registry,ref=ghcr.io/orionrobots/orionrobots-site:cache,mode=max
42+
- type=registry,ref=ghcr.io/orionrobots/orionrobots-site.shell:cache,mode=max
4343

4444
http_serve:
4545
build:
4646
cache_from:
47-
- type=registry,ref=ghcr.io/orionrobots/orionrobots-site:cache
47+
- type=registry,ref=ghcr.io/orionrobots/orionrobots-site.http_serve:cache
4848
cache_to:
49-
- type=registry,ref=ghcr.io/orionrobots/orionrobots-site:cache,mode=max
49+
- type=registry,ref=ghcr.io/orionrobots/orionrobots-site.http_serve:cache,mode=max
5050

5151
broken_links:
5252
build:
5353
cache_from:
54-
- type=registry,ref=ghcr.io/orionrobots/orionrobots-site:cache
54+
- type=registry,ref=ghcr.io/orionrobots/orionrobots-site.broken_links:cache
5555
cache_to:
56-
- type=registry,ref=ghcr.io/orionrobots/orionrobots-site:cache,mode=max
56+
- type=registry,ref=ghcr.io/orionrobots/orionrobots-site.broken_links:cache,mode=max

0 commit comments

Comments
 (0)