ci: switch Docker build cache from type=gha to type=registry
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:
cal 2026-02-11 22:12:26 +00:00
parent 066ee7d6f8
commit 0d60597022

View File

@ -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: |