Browse Source

Docker cache try 2 (#126)

* Docker cache try 2

* Update README.md

* Fix restore-key

* Update README.md
LionZXY 5 năm trước cách đây
mục cha
commit
892a3b16da
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      .github/workflows/ci.yml

+ 2 - 2
.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