From dbe38f712617d31a0398a978690c2e3ca05b7c16 Mon Sep 17 00:00:00 2001 From: Stuart Ferguson Date: Fri, 5 Dec 2025 10:13:59 +0000 Subject: [PATCH] Net 10 Upgrade and windows release --- .github/workflows/createrelease.yml | 24 ++++++++++++++---------- Dockerfile | 2 +- DockerfileWindows | 2 +- 3 files changed, 16 insertions(+), 12 deletions(-) diff --git a/.github/workflows/createrelease.yml b/.github/workflows/createrelease.yml index 7b3b8ba..d98710d 100644 --- a/.github/workflows/createrelease.yml +++ b/.github/workflows/createrelease.yml @@ -71,10 +71,10 @@ jobs: path: sharedconfig.zip deploystaging: - runs-on: [stagingserver, linux] + runs-on: [stagingserver, windows] needs: [buildconfigpackage] environment: staging - name: "Deploy to Staging on Linux" + name: "Deploy to Staging on Windows" steps: - name: Download the artifact @@ -82,16 +82,18 @@ jobs: with: name: sharedconfig - - name: deploy config + - name: Deploy config + shell: powershell run: | - sudo mkdir -p /home/txnproc/config - sudo unzip -o sharedconfig.zip -d /home/txnproc/config + $target = "C:\home\txnproc\config" + New-Item -ItemType Directory -Force -Path $target + Expand-Archive -Path sharedconfig.zip -DestinationPath $target -Force deployproduction: - runs-on: [productionserver, linux] + runs-on: [productionserver, windows] needs: [buildconfigpackage, deploystaging] environment: production - name: "Deploy to Production on Linux" + name: "Deploy to Production on Windows" steps: - name: Download the artifact @@ -99,7 +101,9 @@ jobs: with: name: sharedconfig - - name: deploy config + - name: Deploy config + shell: powershell run: | - sudo mkdir -p /home/txnproc/config - sudo unzip -o sharedconfig.zip -d /home/txnproc/config + $target = "C:\home\txnproc\config" + New-Item -ItemType Directory -Force -Path $target + Expand-Archive -Path sharedconfig.zip -DestinationPath $target -Force diff --git a/Dockerfile b/Dockerfile index 1ea6faa..ce55fab 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM mcr.microsoft.com/dotnet/aspnet:9.0 AS base +FROM mcr.microsoft.com/dotnet/aspnet:10.0 AS base WORKDIR /home/txnproc/ COPY ["/config", "config"] diff --git a/DockerfileWindows b/DockerfileWindows index abf6f98..174c3af 100644 --- a/DockerfileWindows +++ b/DockerfileWindows @@ -1,4 +1,4 @@ -FROM mcr.microsoft.com/dotnet/aspnet:9.0-windowsservercore-ltsc2022 AS base +FROM mcr.microsoft.com/dotnet/aspnet:10.0-windowsservercore-ltsc2022 AS base WORKDIR /home/txnproc/ COPY ["/config", "config"]