Skip to content

Commit 86a6286

Browse files
committed
switching to Microsoft Container registry (MCR)
1 parent 4955293 commit 86a6286

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
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.IsRunningOnAzurePipeline, "Docker can be built only on AzurePipeline.")
408+
.WithCriteria<BuildParameters>((context, parameters) => parameters.IsStableRelease() || parameters.IsPreRelease(), "Docker-Build works only for releases.")
409409
.IsDependentOn("Copy-Files")
410410
.Does<BuildParameters>((parameters) =>
411411
{

src/Docker/windows/nano/netcoreapp2.1/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM mcr.microsoft.com/dotnet/core/runtime:2.1
1+
FROM mcr.microsoft.com/dotnet/core/runtime:2.1-nanoserver-sac2016
22
LABEL maintainers="GitTools Maintainers"
33
ARG contentFolder
44

0 commit comments

Comments
 (0)