Skip to content

Commit 1637607

Browse files
committed
(build) moving docker utils to separate file
1 parent 6ffb209 commit 1637607

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

build/parameters.cake

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,10 @@ public class BuildParameters
6060

6161
var target = context.Argument("target", "Default");
6262
var buildSystem = context.BuildSystem();
63-
var dockerCliPlatform = context.Environment.Platform.Family != PlatformFamily.OSX ? GetDockerCliPlatform(context) : "";
63+
64+
var dockerCliPlatform = buildSystem.IsRunningOnAzurePipelinesHosted
65+
&& context.Environment.Platform.Family != PlatformFamily.OSX
66+
? GetDockerCliPlatform(context) : "";
6467

6568
return new BuildParameters {
6669
Target = target,

0 commit comments

Comments
 (0)