Skip to content
This repository was archived by the owner on Jul 18, 2025. It is now read-only.

Commit d066048

Browse files
committed
docker-compose do allow to pass build.image: ''
Signed-off-by: Nicolas De Loof <[email protected]>
1 parent b06dc93 commit d066048

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/commands/build/compose.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ func parseCompose(app *types.App, options buildOptions) (map[string]build.Option
3030
}
3131

3232
var tags []string
33-
if service.Image != nil {
33+
if service.Image != nil && *service.Image != "" {
3434
tags = []string{*service.Image}
3535
}
3636

0 commit comments

Comments
 (0)