ci: switch Docker build cache from type=gha to type=registry
Some checks failed
Build Docker Image / build (pull_request) Failing after 14s
Some checks failed
Build Docker Image / build (pull_request) Failing after 14s
The gha cache backend silently fails on Gitea Actions due to Docker networking issues between the Buildx builder container and the act_runner cache server. Registry-based caching stores layers on Docker Hub, which is more reliable for self-hosted runners.
This commit is contained in:
parent
066ee7d6f8
commit
0d60597022
@ -121,8 +121,8 @@ jobs:
|
||||
manticorum67/paper-dynasty-discordapp:latest
|
||||
manticorum67/paper-dynasty-discordapp:v${{ steps.meta.outputs.version }}
|
||||
manticorum67/paper-dynasty-discordapp:${{ steps.meta.outputs.version_sha }}
|
||||
cache-from: type=gha
|
||||
cache-to: type=gha,mode=max
|
||||
cache-from: type=registry,ref=manticorum67/paper-dynasty-discordapp:buildcache
|
||||
cache-to: type=registry,ref=manticorum67/paper-dynasty-discordapp:buildcache,mode=max
|
||||
|
||||
- name: Build Summary
|
||||
run: |
|
||||
|
||||
Loading…
Reference in New Issue
Block a user