diff --git a/build/Build.cs b/build/Build.cs index f88b134..c1b8608 100644 --- a/build/Build.cs +++ b/build/Build.cs @@ -47,7 +47,7 @@ sealed class Build : NukeBuild .DependsOn(Restore) .Executes(() => { - if (SupportsDocker) + if (IsLocalBuild && SupportsDocker) { DockerTasks.DockerStackRm(settings => settings.SetStacks("continuity")); }