From 892a3b16da2df11c8dd577cb91b2c71284f9d49b Mon Sep 17 00:00:00 2001 From: LionZXY Date: Thu, 17 Sep 2020 12:11:06 +0300 Subject: [PATCH] Docker cache try 2 (#126) * Docker cache try 2 * Update README.md * Fix restore-key * Update README.md --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6623c5a1a43..5c0472f3460 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,8 +15,8 @@ jobs: - uses: satackey/action-docker-layer-caching@v0.0.8 continue-on-error: true with: - key: docker-cache-${{ hashFiles('docker/**') }} - + key: docker-cache-${{ hashFiles('docker/**') }}-{hash} + restore-keys: docker-cache-${{ hashFiles('docker/**') }}- - name: Build docker image uses: ./.github/actions/docker