fix: update to .NET 10 GA images

.NET 10 is now generally available - the -preview tags no longer exist.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Barry Walker
2026-01-13 14:48:51 -05:00
parent 31e6529bbe
commit 1e5d54ebb4
3 changed files with 9 additions and 9 deletions
+3 -3
View File
@@ -10,18 +10,18 @@ clone:
steps:
- name: restore
image: mcr.microsoft.com/dotnet/sdk:10.0-preview
image: mcr.microsoft.com/dotnet/sdk:10.0
commands:
- dotnet restore
- name: build
image: mcr.microsoft.com/dotnet/sdk:10.0-preview
image: mcr.microsoft.com/dotnet/sdk:10.0
commands:
- dotnet build --no-restore -c Release
depends_on: [restore]
- name: test
image: mcr.microsoft.com/dotnet/sdk:10.0-preview
image: mcr.microsoft.com/dotnet/sdk:10.0
commands:
- dotnet test --no-build -c Release --logger "console;verbosity=detailed"
depends_on: [build]
+4 -4
View File
@@ -13,18 +13,18 @@ clone:
steps:
- name: restore
image: mcr.microsoft.com/dotnet/sdk:10.0-preview
image: mcr.microsoft.com/dotnet/sdk:10.0
commands:
- dotnet restore
- name: build
image: mcr.microsoft.com/dotnet/sdk:10.0-preview
image: mcr.microsoft.com/dotnet/sdk:10.0
commands:
- dotnet build --no-restore -c Release
depends_on: [restore]
- name: test
image: mcr.microsoft.com/dotnet/sdk:10.0-preview
image: mcr.microsoft.com/dotnet/sdk:10.0
commands:
- dotnet test --no-build -c Release --logger "console;verbosity=detailed"
depends_on: [build]
@@ -88,7 +88,7 @@ steps:
# Package NuGet
- name: package
image: mcr.microsoft.com/dotnet/sdk:10.0-preview
image: mcr.microsoft.com/dotnet/sdk:10.0
commands:
- VERSION=$(cat .version)
- echo "Packaging version $VERSION"
+2 -2
View File
@@ -1,5 +1,5 @@
# Build stage
FROM mcr.microsoft.com/dotnet/sdk:10.0-preview AS build
FROM mcr.microsoft.com/dotnet/sdk:10.0 AS build
ARG VERSION=0.0.0-dev
WORKDIR /src
@@ -12,7 +12,7 @@ COPY . .
RUN dotnet publish -c Release -o /app/publish /p:Version=${VERSION}
# Runtime stage
FROM mcr.microsoft.com/dotnet/aspnet:10.0-preview AS runtime
FROM mcr.microsoft.com/dotnet/aspnet:10.0 AS runtime
ARG VERSION=0.0.0-dev
WORKDIR /app