We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ffb209 commit 1637607Copy full SHA for 1637607
build/parameters.cake
@@ -60,7 +60,10 @@ public class BuildParameters
60
61
var target = context.Argument("target", "Default");
62
var buildSystem = context.BuildSystem();
63
- var dockerCliPlatform = context.Environment.Platform.Family != PlatformFamily.OSX ? GetDockerCliPlatform(context) : "";
+
64
+ var dockerCliPlatform = buildSystem.IsRunningOnAzurePipelinesHosted
65
+ && context.Environment.Platform.Family != PlatformFamily.OSX
66
+ ? GetDockerCliPlatform(context) : "";
67
68
return new BuildParameters {
69
Target = target,
0 commit comments