Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Aragas committed Sep 5, 2024
1 parent 00c2f78 commit fee892d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy-openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@master
with:
dotnet-version: 7.x.x
dotnet-version: 8.x.x

- name: Build
run: dotnet build src/P3D.Legacy.Server/P3D.Legacy.Server.csproj -c Release
Expand All @@ -32,7 +32,7 @@ jobs:
shell: pwsh

- name: Generate OpenAPI spec
run: dotnet swagger tofile --output ./openapi.json ./src/P3D.Legacy.Server/bin/Release/net7.0/P3D.Legacy.Server.dll v1
run: dotnet swagger tofile --output ./openapi.json ./src/P3D.Legacy.Server/bin/Release/net8.0/P3D.Legacy.Server.dll v1
shell: pwsh

- name: Generate Swagger UI
Expand Down
2 changes: 1 addition & 1 deletion src/P3D.Legacy.Server/Image.Slim.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM --platform=$TARGETPLATFORM mcr.microsoft.com/dotnet/nightly/runtime-deps:8.0-jammy-chiseled AS base
FROM mcr.microsoft.com/dotnet/nightly/runtime-deps:8.0-jammy-chiseled AS base
WORKDIR /app

FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/nightly/sdk:8.0-jammy AS restore
Expand Down
2 changes: 1 addition & 1 deletion src/P3D.Legacy.Server/Image.Universal.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM --platform=$TARGETPLATFORM mcr.microsoft.com/dotnet/aspnet:8.0 AS base
FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS base
WORKDIR /app

FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/sdk:8.0 AS restore
Expand Down

0 comments on commit fee892d

Please sign in to comment.