Skip to content

Commit

Permalink
Update to dotnet 8 (#302)
Browse files Browse the repository at this point in the history
* Update to dotnet 8

* Build and format with same dotnet version

---------

Co-authored-by: Boris Ahrens <boris.ahrens@gdata.de>
  • Loading branch information
borisahrens and Boris Ahrens authored Feb 22, 2024
1 parent 746fc38 commit de4aeac
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/dotnet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: "7.0.101"
dotnet-version: "8.0"
- name: check format
run: dotnet format --severity error --verify-no-changes ./MalwareSampleExchange.sln

Expand All @@ -28,7 +28,7 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 7.0.x
dotnet-version: "8.0"
- name: Set env
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
- name: Install dependencies
Expand Down
4 changes: 2 additions & 2 deletions src/MalwareSampleExchange.Console/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
FROM mcr.microsoft.com/dotnet/aspnet:7.0-alpine
FROM mcr.microsoft.com/dotnet/aspnet:8.0-alpine
COPY . /data
WORKDIR /data

ENTRYPOINT dotnet /data/MalwareSampleExchange.Console.dll

ENV ASPNETCORE_URLS="http://0.0.0.0:80"
ENV ASPNETCORE_URLS="http://0.0.0.0:8080"

LABEL org.opencontainers.image.title="Malware Sample Exchange (MSE) Image" \
org.opencontainers.image.description="Malware Sample Exchange (MSE)" \
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<Version>0.7.1</Version>
<TargetFramework>net8.0</TargetFramework>
<Version>0.8.0</Version>
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
Expand Down

0 comments on commit de4aeac

Please sign in to comment.