ci: update Docker build cache configuration to use registry
All checks were successful
Build Backend / build (push) Successful in 14m14s
Build Backend / build-docker (push) Successful in 1m12s

This commit is contained in:
lafay
2026-03-23 03:08:21 +08:00
parent 9d546b9989
commit d2969a32de

View File

@@ -86,5 +86,5 @@ jobs:
code.littlelan.cn/carrot_bbs/backend:latest code.littlelan.cn/carrot_bbs/backend:latest
code.littlelan.cn/carrot_bbs/backend:${{ github.sha }} code.littlelan.cn/carrot_bbs/backend:${{ github.sha }}
platforms: linux/amd64 platforms: linux/amd64
cache-from: type=gha cache-from: type=registry,ref=code.littlelan.cn/carrot_bbs/backend:buildcache
cache-to: type=gha,mode=max cache-to: type=registry,ref=code.littlelan.cn/carrot_bbs/backend:buildcache,mode=max