Skip to content

Commit 0a8f39b

Browse files
committed
fix dockerfile
1 parent 51a9a76 commit 0a8f39b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/docker-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
branches: [ "main" ]
88

99
env:
10-
DOCKER_TAG: 0.0.1-${{ github.run_number }}
10+
DOCKER_TAG: 0.0.2-${{ github.run_number }}
1111

1212
jobs:
1313

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Learn about building .NET container images:
22
# https://github.com/dotnet/dotnet-docker/blob/main/samples/README.md
3-
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
3+
FROM mcr.microsoft.com/dotnet/sdk:9.0 AS build
44
WORKDIR /source
55

66
# copy csproj and restore as distinct layers
@@ -13,7 +13,7 @@ RUN dotnet publish --use-current-runtime --self-contained false --no-restore -o
1313

1414

1515
# final stage/image
16-
FROM mcr.microsoft.com/dotnet/aspnet:8.0
16+
FROM mcr.microsoft.com/dotnet/aspnet:9.0
1717
EXPOSE 80 443
1818

1919
WORKDIR /app

0 commit comments

Comments
 (0)