Skip to content

Commit 774fbf5

Browse files
trying to fix docker build if --label not passed
1 parent 328da75 commit 774fbf5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/spec-node/containerFeatures.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ export async function extendImage(params: DockerResolverParameters, config: Subs
113113
'--target', featureBuildInfo.overrideTarget,
114114
'-f', dockerfilePath,
115115
...additionalImageNames.length > 0 ? additionalImageNames.map(name => ['-t', name]).flat() : ['-t', updatedImageName],
116-
...imageLabels.length > 0 ? imageLabels.map(label => ['--label', label]).flat() : ['--label', ''],
116+
...imageLabels.length > 0 ? imageLabels.map(label => ['--label', label]).flat() : [],
117117
emptyTempDir
118118
);
119119

0 commit comments

Comments
 (0)