From a14223b5b4efaeafd3771354c5f2bf44a567d813 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 | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 700fe34..71f83dc 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -51,7 +51,7 @@ jobs:
tags: ${{ matrix.fpm-image }}-amd64
context: fpm
cache-from: type=gha
- cache-to: type=gha,mode=max
+ cache-to: type=gha,mode=max,scope=fpm-${{ matrix.php }}-amd64
platforms: linux/amd64
build-args: |
PHP_PATCH_VERSION=${{ matrix.phpPatch }}
@@ -79,7 +79,7 @@ jobs:
tags: ${{ matrix.fpm-image }}-arm64
context: fpm
cache-from: type=gha
- cache-to: type=gha,mode=max
+ cache-to: type=gha,mode=max,scope=fpm-${{ matrix.php }}-arm64
platforms: linux/arm64
build-args: |
PHP_PATCH_VERSION=${{ matrix.phpPatch }}