hotfix - use context github.ref_name for cache

This commit is contained in:
mauwii 2023-02-08 11:01:55 +01:00
parent a3da12d867
commit bf812e6493
No known key found for this signature in database
GPG Key ID: D923DB04ADB3F5AB

View File

@ -88,8 +88,8 @@ jobs:
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
build-args: PIP_EXTRA_INDEX_URL=${{ matrix.pip-extra-index-url }}
cache-from: type=gha,scope=$GITHUB_REF_NAME-${{ matrix.flavor }}
cache-to: type=gha,mode=max,scope=$GITHUB_REF_NAME-${{ matrix.flavor }}
cache-from: type=gha,scope=${{ github.ref_name }}-${{ matrix.flavor }}
cache-to: type=gha,mode=max,scope=${{ github.ref_name }}-${{ matrix.flavor }}
- name: Docker Hub Description
if: github.event_name != 'pull_request' && vars.DOCKERHUB_REPOSITORY != ''