File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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
33ARG TARGETARCH
44
@@ -19,7 +19,7 @@ RUN dotnet restore ./src/DemoApi/ -a $TARGETARCH
1919RUN 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
2424WORKDIR /app
2525
You can’t perform that action at this time.
0 commit comments