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:
+3
-3
@@ -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]
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user