revert caching to main; cache to ref_name

This commit is contained in:
mauwii 2023-02-09 01:33:08 +01:00
parent a2b992dfd1
commit b04f199035
No known key found for this signature in database
GPG Key ID: D923DB04ADB3F5AB

View File

@ -90,7 +90,7 @@ jobs:
cache-from: |
type=gha,scope=${{ github.ref_name }}-${{ matrix.flavor }}
type=gha,scope=main-${{ matrix.flavor }}
cache-to: type=gha,mode=max,scope=main-${{ matrix.flavor }}
cache-to: type=gha,mode=max,scope=${{ github.ref_name }}-${{ matrix.flavor }}
- name: Docker Hub Description
if: github.ref == 'refs/heads/main' || github.ref == 'refs/tags/*' && vars.DOCKERHUB_REPOSITORY != ''