Explorar o código

Merge pull request #125 from Flipper-Zero/docker-cache

Add docker cache
Vadim Kaushan %!s(int64=5) %!d(string=hai) anos
pai
achega
2d66f55626
Modificáronse 1 ficheiros con 6 adicións e 1 borrados
  1. 6 1
      .github/workflows/ci.yml

+ 6 - 1
.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