Skip to content

Commit

Permalink
Upgrade CI dependencies
Browse files Browse the repository at this point in the history
- Update dotnet version
- Update dockerfile image versions
  • Loading branch information
bdovaz committed Nov 14, 2022
1 parent e2edbce commit eba5a5d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Install .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: '6.0.x'
dotnet-version: '7.0.x'

- name: Build & test (Release)
run: dotnet test src -c Release
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM mcr.microsoft.com/dotnet/sdk:6.0.100 AS build
FROM mcr.microsoft.com/dotnet/sdk:7.0 AS build
WORKDIR /app

RUN mkdir -p src/UnityNuGet && mkdir -p src/UnityNuGet.Server && mkdir -p src/UnityNuGet.Tests
Expand All @@ -13,7 +13,7 @@ COPY . ./
RUN dotnet publish src -c Release -o /app/src/out

# Build runtime image
FROM mcr.microsoft.com/dotnet/aspnet:6.0
FROM mcr.microsoft.com/dotnet/aspnet:7.0
WORKDIR /app
COPY --from=build /app/src/out .
ENTRYPOINT ["dotnet", "UnityNuGet.Server.dll"]

0 comments on commit eba5a5d

Please sign in to comment.