refactor: 整理结构和 maker 构建方式
This commit is contained in:
@@ -8,7 +8,7 @@ import (
|
||||
|
||||
func TestImage(t *testing.T) {
|
||||
logger.SetLogLevel(logger.LogLevelDebug)
|
||||
m := NewMaker()
|
||||
m := NewMaker("./x-data")
|
||||
m.Image(t.Context(), "docker.io/nginx:1.29.3-alpine3.22",
|
||||
WithImageFallback("swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/nginx:1.29.3-alpine3.22"),
|
||||
WithImageSave("/root/nginx.tar"),
|
||||
|
||||
Reference in New Issue
Block a user