From e65e040d00da2dbe41572e4e7bf9837cee7e49c9 Mon Sep 17 00:00:00 2001
From: Patrick Weyck
Date: Mon, 29 Jan 2024 16:12:53 +0100
Subject: [PATCH] Fix cache
---
.github/workflows/build.yml | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 700fe34..6f55664 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -50,8 +50,8 @@ jobs:
with:
tags: ${{ matrix.fpm-image }}-amd64
context: fpm
- cache-from: type=gha
- cache-to: type=gha,mode=max
+ cache-from: type=gha,scope=fpm-${{ matrix.php }}-amd64
+ cache-to: type=gha,mode=max,scope=fpm-${{ matrix.php }}-amd64
platforms: linux/amd64
build-args: |
PHP_PATCH_VERSION=${{ matrix.phpPatch }}
@@ -78,8 +78,8 @@ jobs:
with:
tags: ${{ matrix.fpm-image }}-arm64
context: fpm
- cache-from: type=gha
- cache-to: type=gha,mode=max
+ cache-from: type=gha,scope=fpm-${{ matrix.php }}-arm64
+ cache-to: type=gha,mode=max,scope=fpm-${{ matrix.php }}-arm64
platforms: linux/arm64
build-args: |
PHP_PATCH_VERSION=${{ matrix.phpPatch }}