ci: update Docker build cache configuration to use registry
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user