migrate to github actions cache

This commit is contained in:
dmunozv04
2025-01-24 16:56:31 +01:00
parent adc7e1efe9
commit dca9186d8b

View File

@@ -75,6 +75,5 @@ jobs:
push: ${{ github.event_name != 'pull_request' }} push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }} tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }} labels: ${{ steps.meta.outputs.labels }}
cache-from: type=registry,ref=ghcr.io/dmunozv04/isponsorblocktv:buildcache cache-from: type=gha
# Only cache if it's not a pull request cache-to: type=gha,mode=max
cache-to: ${{ github.event_name != 'pull_request' && 'type=registry,ref=ghcr.io/dmunozv04/isponsorblocktv:buildcache,mode=max' || '' }}