diff options
| author | soler_j <soler_j@etna-alternance.net> | 2025-04-29 18:29:38 +0200 |
|---|---|---|
| committer | soler_j <soler_j@etna-alternance.net> | 2025-04-29 18:29:38 +0200 |
| commit | 7b4b0530e7f788827c47582cea0df0415d06f9bb (patch) | |
| tree | fd371533a05ac9857e89633903d37754a6b06ea1 | |
| parent | 73b92886073faeb0f59ec6082b3c44c11cb249c3 (diff) | |
Améliorer la gestion du cache dans le workflow de construction Docker pour les images multi-architecture
| -rw-r--r-- | .github/workflows/build.yml | 4 |
1 files 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 |
