Add secret to cache key
To make it possible to invalidate cache if needed
This commit is contained in:
parent
ec2a6e4ded
commit
e29beea1ff
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue