From 82b47935ba78f390ffc484222a417a7e68245081 Mon Sep 17 00:00:00 2001 From: Chet Husk Date: Wed, 21 Dec 2022 12:54:15 -0600 Subject: [PATCH] remove artificial block for linux-x64 --- .../Microsoft.NET.Build.Containers.targets | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/packaging/build/Microsoft.NET.Build.Containers.targets b/packaging/build/Microsoft.NET.Build.Containers.targets index 796a69d5..21da9bb8 100644 --- a/packaging/build/Microsoft.NET.Build.Containers.targets +++ b/packaging/build/Microsoft.NET.Build.Containers.targets @@ -23,13 +23,6 @@ - - - - - @@ -51,6 +44,8 @@ $(RegistryUrl) $(PublishImageTag) + + $([System.DateTime]::UtcNow.ToString('yyyyMMddhhmmss')) @@ -64,9 +59,9 @@ $(AssemblyName) $(Version) - $([System.DateTime]::UtcNow.ToString('yyyyMMddhhmmss')) /app - + + $(RuntimeIdentifier) @@ -77,6 +72,7 @@ + @@ -108,7 +104,6 @@ _ContainerVerifySDKVersion; - _ContainerVerifyRuntime; ComputeContainerConfig @@ -137,7 +132,7 @@ Labels="@(ContainerLabel)" ExposedPorts="@(ContainerPort)" ContainerEnvironmentVariables="@(ContainerEnvironmentVariables)" - ContainerRuntimeIdentifier="$(RuntimeIdentifier)"> + ContainerRuntimeIdentifier="$(ContainerRuntimeIdentifier)">