Browse Source

update settings for caching docker layers

Yuki Takei 4 năm trước cách đây
mục cha
commit
cf5e301943
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      .github/workflows/release.yml

+ 2 - 1
.github/workflows/release.yml

@@ -104,8 +104,9 @@ jobs:
       uses: actions/cache@v2
       with:
         path: /tmp/.buildx-cache
-        key: ${{ runner.os }}-buildx-app-${{ github.sha }}
+        key: ${{ runner.os }}-buildx-app-${{ matrix.flavor }}-${{ github.sha }}
         restore-keys: |
+          ${{ runner.os }}-buildx-app-${{ matrix.flavor }}-
           ${{ runner.os }}-buildx-app-
 
     - name: Build and push