diff options
author | 2020-11-17 20:34:48 +0100 | |
---|---|---|
committer | 2020-11-17 20:34:48 +0100 | |
commit | 4b7275a3d7eb5b1282c9fce5f9cf9dd5cee4f2eb (patch) | |
tree | 7886e04a45f4225919dc38d544bdf01a6a35b857 | |
parent | Revert GHCR cache commit (diff) |
Add versioning to cache key
-rw-r--r-- | .github/workflows/lint-test.yaml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/lint-test.yaml b/.github/workflows/lint-test.yaml index d4cdca8..e0c846b 100644 --- a/.github/workflows/lint-test.yaml +++ b/.github/workflows/lint-test.yaml @@ -35,10 +35,10 @@ jobs: uses: actions/cache@v2 with: path: /tmp/.buildx-cache - key: ${{ runner.os }}-buildx-${{ github.ref }}-${{ github.sha }} + key: ${{ runner.os }}-0-buildx-${{ github.ref }}-${{ github.sha }} restore-keys: | - ${{ runner.os }}-buildx-${{ github.ref }}- - ${{ runner.os }}-buildx- + ${{ runner.os }}-0-buildx-${{ github.ref }}- + ${{ runner.os }}-0-buildx- - name: Build image for linting and testing uses: docker/build-push-action@v2 |