Skip to content

Commit 1c0eb44

Browse files
author
finefine
committed
fix: wait image building bug
1 parent 8115238 commit 1c0eb44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/peitho/service/image.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ func (i *imageService) Build(ctx context.Context, dockerfile string, tags []stri
8080

8181
// waitting for image build
8282
for t := 0; t < 300; t++ {
83-
_, inspectErr := i.Inspect(ctx, tags[0])
83+
_, _, inspectErr := i.docker.ImageInspectWithRaw(ctx, tags[0])
8484
if inspectErr == nil {
8585
break
8686
}

0 commit comments

Comments
 (0)