From 38df7aa6b9236b19e72e87d04e8cac29675e88c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B6=B5=E6=9B=A6?= Date: Wed, 30 Oct 2024 12:32:56 +0800 Subject: [PATCH] Update ci.yml --- .github/workflows/ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c918a33..e5f396f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -44,6 +44,8 @@ jobs: push: false load: true tags: ${{ env.TAGNAME }} + cache-from: type=local,src=/tmp/.buildx-cache + cache-to: type=local,dest=/tmp/.buildx-cache-new - name: Test Docker image run: docker run --rm ${{ env.TAGNAME }} -h @@ -55,6 +57,8 @@ jobs: context: . push: true tags: ${{ env.TEST_TAG }} + cache-from: type=local,src=/tmp/.buildx-cache + cache-to: type=local,dest=/tmp/.buildx-cache-new publish-readme: runs-on: ubuntu-latest