Skip to content

Commit 5f54f9f

Browse files
committed
ci: Remove branch from cache scope
1 parent 30efc76 commit 5f54f9f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/build-docker-images.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ jobs:
6161
file: "${{ matrix.flavour }}/Dockerfile.base"
6262
push: false
6363
load: true
64-
cache-from: type=gha,scope=${{ github.ref_name }}-${{ env.CACHE_KEY }}-${{ matrix.php-version }}-${{ matrix.flavour }}
65-
cache-to: type=gha,mode=max,scope=${{ github.ref_name }}-${{ env.CACHE_KEY }}-${{ matrix.php-version }}-${{ matrix.flavour }}
64+
cache-from: type=gha,scope=${{ env.CACHE_KEY }}-${{ matrix.php-version }}-${{ matrix.flavour }}
65+
cache-to: type=gha,mode=max,scope=${{ env.CACHE_KEY }}-${{ matrix.php-version }}-${{ matrix.flavour }}
6666
labels: |
6767
org.opencontainers.image.title=${{ github.event.repository.name }}
6868
org.opencontainers.image.description=${{ github.event.repository.description }}
@@ -509,8 +509,8 @@ jobs:
509509
file: "${{ matrix.flavour }}/Dockerfile"
510510
push: false
511511
load: true
512-
cache-from: type=gha,scope=${{ github.ref_name }}-${{ env.CACHE_KEY }}-${{ matrix.shopware-version }}-${{ matrix.flavour }}
513-
cache-to: type=gha,mode=max,scope=${{ github.ref_name }}-${{ env.CACHE_KEY }}-${{ matrix.shopware-version }}-${{ matrix.flavour }}
512+
cache-from: type=gha,scope=${{ env.CACHE_KEY }}-${{ matrix.shopware-version }}-${{ matrix.flavour }}
513+
cache-to: type=gha,mode=max,scope=${{ env.CACHE_KEY }}-${{ matrix.shopware-version }}-${{ matrix.flavour }}
514514
labels: |
515515
org.opencontainers.image.title=${{ github.event.repository.name }}
516516
org.opencontainers.image.description=${{ github.event.repository.description }}

0 commit comments

Comments
 (0)