1
Fork 0

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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

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