Skip to content

Commit 3408a90

Browse files
committed
test: set cache scopes
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
1 parent ebf5551 commit 3408a90

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/.test.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ jobs:
2424
output: image
2525
push: ${{ github.event_name != 'pull_request' }}
2626
cache: true
27+
cache-scope: build-aws-single
2728
meta-images: |
2829
public.ecr.aws/q3b5f1u4/test-docker-action
2930
meta-tags: |
@@ -366,7 +367,7 @@ jobs:
366367
output: image
367368
push: ${{ github.event_name != 'pull_request' }}
368369
cache: true
369-
cache-scope: bake-aws
370+
cache-scope: bake-aws-single
370371
meta-images: |
371372
public.ecr.aws/q3b5f1u4/test-docker-action
372373
meta-tags: |
@@ -469,7 +470,7 @@ jobs:
469470
output: image
470471
push: ${{ github.event_name != 'pull_request' }}
471472
cache: true
472-
cache-scope: bake-aws
473+
cache-scope: bake-ghcr-and-aws
473474
meta-images: |
474475
ghcr.io/docker/github-builder-test
475476
public.ecr.aws/q3b5f1u4/test-docker-action
@@ -527,6 +528,7 @@ jobs:
527528
output: local
528529
push: ${{ github.event_name != 'pull_request' }}
529530
cache: true
531+
cache-scope: bake-local
530532
artifact-name: bake-output
531533
bake-sbom: true
532534

@@ -564,6 +566,7 @@ jobs:
564566
output: local
565567
push: ${{ github.event_name != 'pull_request' }}
566568
cache: true
569+
cache-scope: bake-local-single
567570
artifact-name: bake-output-single
568571
bake-sbom: true
569572

0 commit comments

Comments
 (0)