fix: switch from type=gha to type=registry cache to avoid Gitea OAuth issue
Some checks failed
Docker / build (push) Failing after 8m55s

This commit is contained in:
2026-06-29 14:17:18 +02:00
parent b1c06e3a2d
commit 1fe1027c92

View File

@@ -57,8 +57,8 @@ jobs:
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha,scope=standard
cache-to: type=gha,mode=max,scope=standard
cache-from: type=registry,ref=${{ env.REGISTRY }}/${{ env.IMAGE }}:cache
cache-to: ${{ github.event_name != 'pull_request' && format('type=registry,ref={0}/{1}:cache,mode=max', env.REGISTRY, env.IMAGE) || '' }}
platforms: linux/amd64,linux/arm64
provenance: false
@@ -70,7 +70,7 @@ jobs:
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta-bundled.outputs.tags }}
labels: ${{ steps.meta-bundled.outputs.labels }}
cache-from: type=gha,scope=bundled
cache-to: type=gha,mode=max,scope=bundled
cache-from: type=registry,ref=${{ env.REGISTRY }}/${{ env.IMAGE }}:cache-bundled
cache-to: ${{ github.event_name != 'pull_request' && format('type=registry,ref={0}/{1}:cache-bundled,mode=max', env.REGISTRY, env.IMAGE) || '' }}
platforms: linux/amd64,linux/arm64
provenance: false