Skip to content

Commit 685f739

Browse files
committed
fixup! feat(cli): print logs when passing --verbose to the build command.
1 parent fa986da commit 685f739

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

apps/cli/src/builder/docker.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@ const buildImage = async (options: ImageBuildOptions): Promise<string> => {
5151
];
5252

5353
// set tags for the image built
54-
args.push(...tags.flatMap((tag) => ["--tag", tag]));
54+
// args.push(...tags.flatMap((tag) => ["--tag", tag]));
55+
args.push("--tag", "machine-image");
5556

5657
// set build args
5758
args.push(...buildArgs.flatMap((arg) => ["--build-arg", arg]));
@@ -84,7 +85,7 @@ const buildImage = async (options: ImageBuildOptions): Promise<string> => {
8485
) as BuildxMetadata;
8586

8687
reporter?.(JSON.stringify(metadata, null, 2));
87-
return metadata["containerimage.digest"] ?? "";
88+
return metadata["image.name"] ?? "";
8889
};
8990

9091
/**

0 commit comments

Comments
 (0)