Skip to content

Commit f387bb2

Browse files
committed
Disable docker build on AppVeyor the build agent hosts are too old
1 parent fe219e2 commit f387bb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.cake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ Task("Zip-Files")
405405

406406
Task("Docker-Build")
407407
.WithCriteria<BuildParameters>((context, parameters) => !parameters.IsRunningOnMacOS, "Docker can be built only on Windows or Linux agents.")
408-
.WithCriteria<BuildParameters>((context, parameters) => parameters.IsStableRelease() || parameters.IsPreRelease(), "Docker-Build works only for releases.")
408+
.WithCriteria<BuildParameters>((context, parameters) => parameters.IsRunningOnAzurePipeline, "Docker can be built only on AzurePipeline.")
409409
.IsDependentOn("Copy-Files")
410410
.Does<BuildParameters>((parameters) =>
411411
{

0 commit comments

Comments
 (0)