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:
|
steps:
|
||||||
- name: restore
|
- name: restore
|
||||||
image: mcr.microsoft.com/dotnet/sdk:10.0-preview
|
image: mcr.microsoft.com/dotnet/sdk:10.0
|
||||||
commands:
|
commands:
|
||||||
- dotnet restore
|
- dotnet restore
|
||||||
|
|
||||||
- name: build
|
- name: build
|
||||||
image: mcr.microsoft.com/dotnet/sdk:10.0-preview
|
image: mcr.microsoft.com/dotnet/sdk:10.0
|
||||||
commands:
|
commands:
|
||||||
- dotnet build --no-restore -c Release
|
- dotnet build --no-restore -c Release
|
||||||
depends_on: [restore]
|
depends_on: [restore]
|
||||||
|
|
||||||
- name: test
|
- name: test
|
||||||
image: mcr.microsoft.com/dotnet/sdk:10.0-preview
|
image: mcr.microsoft.com/dotnet/sdk:10.0
|
||||||
commands:
|
commands:
|
||||||
- dotnet test --no-build -c Release --logger "console;verbosity=detailed"
|
- dotnet test --no-build -c Release --logger "console;verbosity=detailed"
|
||||||
depends_on: [build]
|
depends_on: [build]
|
||||||
|
|||||||
@@ -13,18 +13,18 @@ clone:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: restore
|
- name: restore
|
||||||
image: mcr.microsoft.com/dotnet/sdk:10.0-preview
|
image: mcr.microsoft.com/dotnet/sdk:10.0
|
||||||
commands:
|
commands:
|
||||||
- dotnet restore
|
- dotnet restore
|
||||||
|
|
||||||
- name: build
|
- name: build
|
||||||
image: mcr.microsoft.com/dotnet/sdk:10.0-preview
|
image: mcr.microsoft.com/dotnet/sdk:10.0
|
||||||
commands:
|
commands:
|
||||||
- dotnet build --no-restore -c Release
|
- dotnet build --no-restore -c Release
|
||||||
depends_on: [restore]
|
depends_on: [restore]
|
||||||
|
|
||||||
- name: test
|
- name: test
|
||||||
image: mcr.microsoft.com/dotnet/sdk:10.0-preview
|
image: mcr.microsoft.com/dotnet/sdk:10.0
|
||||||
commands:
|
commands:
|
||||||
- dotnet test --no-build -c Release --logger "console;verbosity=detailed"
|
- dotnet test --no-build -c Release --logger "console;verbosity=detailed"
|
||||||
depends_on: [build]
|
depends_on: [build]
|
||||||
@@ -88,7 +88,7 @@ steps:
|
|||||||
|
|
||||||
# Package NuGet
|
# Package NuGet
|
||||||
- name: package
|
- name: package
|
||||||
image: mcr.microsoft.com/dotnet/sdk:10.0-preview
|
image: mcr.microsoft.com/dotnet/sdk:10.0
|
||||||
commands:
|
commands:
|
||||||
- VERSION=$(cat .version)
|
- VERSION=$(cat .version)
|
||||||
- echo "Packaging version $VERSION"
|
- echo "Packaging version $VERSION"
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
# Build stage
|
# 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
|
ARG VERSION=0.0.0-dev
|
||||||
WORKDIR /src
|
WORKDIR /src
|
||||||
|
|
||||||
@@ -12,7 +12,7 @@ COPY . .
|
|||||||
RUN dotnet publish -c Release -o /app/publish /p:Version=${VERSION}
|
RUN dotnet publish -c Release -o /app/publish /p:Version=${VERSION}
|
||||||
|
|
||||||
# Runtime stage
|
# 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
|
ARG VERSION=0.0.0-dev
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user