Skip to content

Commit

Permalink
Update pipeline to net7
Browse files Browse the repository at this point in the history
  • Loading branch information
Christdej committed Sep 26, 2023
1 parent 8922c38 commit aad171c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/runMigrations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
- name: Set up .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: "6.x.x"
dotnet-version: "7.x.x"

- name: Build project and dependencies
run: dotnet build
Expand Down
4 changes: 2 additions & 2 deletions backend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# https://hub.docker.com/_/microsoft-dotnet
FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build
FROM mcr.microsoft.com/dotnet/sdk:7.0 AS build
WORKDIR /source

# copy everything
Expand All @@ -9,7 +9,7 @@ WORKDIR /source/api
RUN dotnet publish -c release -o /app

# final stage/image
FROM mcr.microsoft.com/dotnet/aspnet:6.0
FROM mcr.microsoft.com/dotnet/aspnet:7.0
WORKDIR /app
COPY --from=build /app ./
RUN apt-get update && apt-get install -y apt-utils libgdiplus libc6-dev
Expand Down

0 comments on commit aad171c

Please sign in to comment.