Ver código fonte

Docker cache try 2 (#126)

* Docker cache try 2

* Update README.md

* Fix restore-key

* Update README.md
LionZXY 5 anos atrás
pai
commit
892a3b16da
1 arquivos alterados com 2 adições e 2 exclusões
  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