소스 검색

Docker cache try 2 (#126)

* Docker cache try 2

* Update README.md

* Fix restore-key

* Update README.md
LionZXY 5 년 전
부모
커밋
892a3b16da
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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