aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Sebastiaan Zeeff <[email protected]>2020-11-17 14:46:57 +0100
committerGravatar Sebastiaan Zeeff <[email protected]>2020-11-17 14:46:57 +0100
commite3b95496118ad0199adb765239526ec22455dc4c (patch)
tree64680697baeb7ec57d9d31d6350670d9bbe3a59e
parentUse multi-stage docker file to use local cache (diff)
Use more effective caching keys for build cache
-rw-r--r--.github/workflows/lint-test.yaml3
1 files changed, 2 insertions, 1 deletions
diff --git a/.github/workflows/lint-test.yaml b/.github/workflows/lint-test.yaml
index 9dc711c..150352a 100644
--- a/.github/workflows/lint-test.yaml
+++ b/.github/workflows/lint-test.yaml
@@ -35,8 +35,9 @@ jobs:
uses: actions/cache@v2
with:
path: /tmp/.base-buildx-cache
- key: ${{ runner.os }}-buildx-base-${{ github.sha }}
+ key: ${{ runner.os }}-buildx-base-${{ github.ref }}-${{ github.sha }}
restore-keys: |
+ ${{ runner.os }}-buildx-base-${{ github.ref }}-
${{ runner.os }}-buildx-base-
- name: Build base image