Add secret to cache key

To make it possible to invalidate cache if needed
This commit is contained in:
Viktor Strate Kløvedal
2021-03-28 19:27:25 +02:00
committed by GitHub
parent ec2a6e4ded
commit e29beea1ff

View File

@@ -26,7 +26,9 @@ jobs:
id: cache
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ github.sha }}
key: ${{ runner.os }}-buildx-${{ secrets.CACHE_KEY }}-${{ github.sha }}
restore-keys: |
${{ runner.os }}-buildx-${{ secrets.CACHE_KEY }}-
- name: Set up QEMU
uses: docker/setup-qemu-action@v1