cache from main and ref_name

This commit is contained in:
mauwii 2023-02-09 00:28:04 +01:00
parent 307e7e00c2
commit 8d1481ca10
No known key found for this signature in database
GPG Key ID: D923DB04ADB3F5AB

View File

@ -87,7 +87,9 @@ 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-from: |
type=gha,scope=${{ github.ref_name }}-${{ matrix.flavor }}
type=gha,scope=main-${{ matrix.flavor }}
cache-to: type=gha,mode=max,scope=${{ github.ref_name }}-${{ matrix.flavor }}
- name: Docker Hub Description