From bc04ef13097286c322d1596825db3a42514bd197 Mon Sep 17 00:00:00 2001 From: Chai Feng Date: Fri, 11 Jul 2025 16:11:04 +0800 Subject: [PATCH] Enable Docker build cache --- .github/workflows/build.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3fea5e2..9185871 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -52,3 +52,5 @@ jobs: use_iptables_legacy=${{ matrix.variant.use_iptables_legacy }} tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} + cache-from: type=gha,scope=${{ github.workflow }}-${{ matrix.variant.name }} + cache-to: type=gha,scope=${{ github.workflow }}-${{ matrix.variant.name }},mode=max