fix: switch from type=gha to type=registry cache to avoid Gitea OAuth issue
Some checks failed
Docker / build (push) Failing after 8m55s
Some checks failed
Docker / build (push) Failing after 8m55s
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user