From 7b4b0530e7f788827c47582cea0df0415d06f9bb Mon Sep 17 00:00:00 2001 From: soler_j Date: Tue, 29 Apr 2025 18:29:38 +0200 Subject: Améliorer la gestion du cache dans le workflow de construction Docker pour les images multi-architecture MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .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 dda5ea9..57d7945 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -58,8 +58,8 @@ jobs: push: true # Do not push yet tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ matrix.tag }} labels: ${{ steps.meta-api.outputs.labels }} - cache-from: type=gha - cache-to: type=gha,mode=max + cache-from: type=gha,scope=${{ github.ref }}-${{ matrix.platform }} + cache-to: type=gha,mode=max,scope=${{ github.ref }}-${{ matrix.platform }} merge-and-push: runs-on: ubuntu-latest -- cgit v1.2.3