Skip to content

Commit 6cfd921

Browse files
committed
chore(dotnet): bump to dotnet 9
1 parent 5277e2a commit 6cfd921

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Setup .NET
2020
uses: actions/setup-dotnet@v4
2121
with:
22-
dotnet-version: '8.0.x'
22+
dotnet-version: '9.0.x'
2323

2424
- name: Cache NuGet packages
2525
uses: actions/cache@v4

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/sdk:8.0-bookworm-slim AS build-env
1+
FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/sdk:9.0-bookworm-slim AS build-env
22

33
ARG TARGETARCH
44

@@ -19,7 +19,7 @@ RUN dotnet restore ./src/DemoApi/ -a $TARGETARCH
1919
RUN dotnet publish ./src/DemoApi/ -c Release --no-restore -o out -a $TARGETARCH --self-contained false -p:PublishSingleFile=true
2020

2121
# Create runtime image
22-
FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/aspnet:8.0-bookworm-slim
22+
FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/aspnet:9.0-bookworm-slim
2323

2424
WORKDIR /app
2525

0 commit comments

Comments
 (0)