From 9787f5c7e2b582454218fa2dce90d2b485c89eb7 Mon Sep 17 00:00:00 2001 From: StuartFerguson Date: Thu, 4 Apr 2024 10:54:46 +0000 Subject: [PATCH] Upgrade docker to windowws 2022 --- .github/workflows/buildwindowsimage.yml | 2 +- .github/workflows/pushtomaster.yml | 2 +- TransactionProcessor/Dockerfilewindows | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/buildwindowsimage.yml b/.github/workflows/buildwindowsimage.yml index bdab4795..35efb433 100644 --- a/.github/workflows/buildwindowsimage.yml +++ b/.github/workflows/buildwindowsimage.yml @@ -10,7 +10,7 @@ jobs: env: ASPNETCORE_ENVIRONMENT: "Production" - runs-on: windows-2019 + runs-on: windows-latest steps: - uses: actions/checkout@v2.3.4 diff --git a/.github/workflows/pushtomaster.yml b/.github/workflows/pushtomaster.yml index f9b0d3cc..b9fac9f1 100644 --- a/.github/workflows/pushtomaster.yml +++ b/.github/workflows/pushtomaster.yml @@ -70,7 +70,7 @@ jobs: env: ASPNETCORE_ENVIRONMENT: "Production" - runs-on: windows-2019 + runs-on: windows-latest steps: - uses: actions/checkout@v2.3.4 diff --git a/TransactionProcessor/Dockerfilewindows b/TransactionProcessor/Dockerfilewindows index 73eb0659..99510a9c 100644 --- a/TransactionProcessor/Dockerfilewindows +++ b/TransactionProcessor/Dockerfilewindows @@ -2,7 +2,7 @@ FROM stuartferguson/txnprocbasewindows AS base USER ContainerAdministrator WORKDIR /app -FROM mcr.microsoft.com/dotnet/sdk:8.0-windowsservercore-ltsc2019 AS build +FROM mcr.microsoft.com/dotnet/sdk:8.0-windowsservercore-ltsc2022 AS build WORKDIR /src COPY ["TransactionProcessor/NuGet.Config", "."] COPY ["TransactionProcessor/TransactionProcessor.csproj", "TransactionProcessor/"]