From 0be6d60c3a5e9614c14e2d25981bd5545fec1f21 Mon Sep 17 00:00:00 2001 From: Jesse Hills <3060199+jesserockz@users.noreply.github.com> Date: Thu, 5 Sep 2024 15:03:10 +1200 Subject: [PATCH] Max cache mode --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 844bd97..ccb130c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -58,7 +58,7 @@ jobs: platforms: linux/amd64,linux/arm/v7,linux/arm64 target: final cache-from: type=registry,ref=ghcr.io/esphome/docker-base:cache - cache-to: ${{ github.event_name == 'release' && 'type=registry,ref=ghcr.io/esphome/docker-base:cache' || '' }} + cache-to: ${{ github.event_name == 'release' && 'type=registry,ref=ghcr.io/esphome/docker-base:cache,mode=max' || '' }} push: ${{ github.event_name != 'pull_request' }} tags: | ghcr.io/esphome/docker-base:${{ steps.get_tag.outputs.version }}