From b333617a9bb41b9bd76e9bd72b90c5c1e39d1eb1 Mon Sep 17 00:00:00 2001 From: LionZXY Date: Thu, 17 Sep 2020 11:06:25 +0300 Subject: [PATCH] Add docker cache --- .github/workflows/ci.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e3288f23..6623c5a1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,7 +11,12 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v2 - + + - uses: satackey/action-docker-layer-caching@v0.0.8 + continue-on-error: true + with: + key: docker-cache-${{ hashFiles('docker/**') }} + - name: Build docker image uses: ./.github/actions/docker