From da3219d3b953b98d22d477ab8f71bdf0f8fccca3 Mon Sep 17 00:00:00 2001 From: Max Isom Date: Fri, 11 Feb 2022 21:13:17 -0500 Subject: [PATCH] Reduce Docker layer caching --- .github/workflows/pr.yml | 2 +- .github/workflows/publish.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index a332a28..c96dfb2 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -48,7 +48,7 @@ jobs: push: true tags: codetheweb/muse:${{ github.event.pull_request.head.sha }}-${{ matrix.tagged-platform }} cache-from: type=local,src=/tmp/.buildx-cache - cache-to: type=local,dest=/tmp/.buildx-cache,mode=max + cache-to: type=local,dest=/tmp/.buildx-cache,mode=min platforms: ${{ matrix.build-arch }} combine-and-comment: diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 1e08387..d3f15e8 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -46,7 +46,7 @@ jobs: tags: codetheweb/muse:${{ github.sha }}-${{ matrix.tagged-platform }} platforms: ${{ matrix.build-arch }} cache-from: type=local,src=/tmp/.buildx-cache - cache-to: type=local,dest=/tmp/.buildx-cache,mode=max + cache-to: type=local,dest=/tmp/.buildx-cache,mode=min combine: name: Combine platform tags