diff --git a/appveyor.yml b/appveyor.yml index d3fda80..deeeed3 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -19,9 +19,9 @@ build_script: dotnet publish -c Release src/HomeAutio.Mqtt.TiVo.sln artifacts: -- path: src\HomeAutio.Mqtt.TiVo\bin\$(configuration)\netcoreapp3.1\publish +- path: src\HomeAutio.Mqtt.TiVo\bin\$(configuration)\net5.0\publish name: HomeAutio.Mqtt.TiVo-$(appveyor_build_version) deploy: - provider: GitHub auth_token: $(GITHUB_API_KEY) - artifact: src\HomeAutio.Mqtt.TiVo\bin\$(configuration)\netcoreapp3.1\HomeAutio.Mqtt.TiVo-$(appveyor_build_version).zip \ No newline at end of file + artifact: src\HomeAutio.Mqtt.TiVo\bin\$(configuration)\net5.0\HomeAutio.Mqtt.TiVo-$(appveyor_build_version).zip \ No newline at end of file diff --git a/src/Dockerfile b/src/Dockerfile index b799a50..2ae29b9 100644 --- a/src/Dockerfile +++ b/src/Dockerfile @@ -1,4 +1,4 @@ -FROM mcr.microsoft.com/dotnet/core/sdk:3.1-alpine AS build +FROM mcr.microsoft.com/dotnet/sdk:5.0-alpine AS build WORKDIR /app # copy csproj and restore as distinct layers @@ -17,7 +17,7 @@ WORKDIR /app/HomeAutio.Mqtt.TiVo RUN dotnet publish -o out # build runtime image -FROM mcr.microsoft.com/dotnet/core/runtime:3.1-alpine AS runtime +FROM mcr.microsoft.com/dotnet/runtime:5.0-alpine AS runtime WORKDIR /app COPY --from=publish /app/HomeAutio.Mqtt.TiVo/out ./ diff --git a/src/Dockerfile.arm32 b/src/Dockerfile.arm32 index 7926510..8027958 100644 --- a/src/Dockerfile.arm32 +++ b/src/Dockerfile.arm32 @@ -1,4 +1,4 @@ -FROM mcr.microsoft.com/dotnet/core/sdk:3.1-alpine AS build +FROM mcr.microsoft.com/dotnet/sdk:5.0-alpine AS build WORKDIR /app # copy csproj and restore as distinct layers @@ -17,7 +17,7 @@ WORKDIR /app/HomeAutio.Mqtt.TiVo RUN dotnet publish -o out # build runtime image -FROM mcr.microsoft.com/dotnet/core/runtime:3.1-buster-slim-arm32v7 AS runtime +FROM mcr.microsoft.com/dotnet/runtime:5.0-buster-slim-arm32v7 AS runtime WORKDIR /app COPY --from=publish /app/HomeAutio.Mqtt.TiVo/out ./ diff --git a/src/HomeAutio.Mqtt.TiVo/HomeAutio.Mqtt.TiVo.csproj b/src/HomeAutio.Mqtt.TiVo/HomeAutio.Mqtt.TiVo.csproj index dca1315..669b983 100644 --- a/src/HomeAutio.Mqtt.TiVo/HomeAutio.Mqtt.TiVo.csproj +++ b/src/HomeAutio.Mqtt.TiVo/HomeAutio.Mqtt.TiVo.csproj @@ -2,10 +2,9 @@ Exe - netcoreapp3.1 + net5.0 latest https://github.com/i8beef/HomeAutio.Mqtt.TiVo - https://github.com/i8beef/HomeAutio.Mqtt.TiVo/blob/master/LICENSE HomeAutio.Mqtt.TiVo 1.0.0.0 @@ -13,6 +12,7 @@ Michael Hallock 1.0.0.0 1.0.0.0 + MIT @@ -30,15 +30,15 @@ - + - - + + - + diff --git a/src/HomeAutio.Mqtt.TiVo/appsettings.json b/src/HomeAutio.Mqtt.TiVo/appsettings.json index 2f50909..6f6d5e5 100644 --- a/src/HomeAutio.Mqtt.TiVo/appsettings.json +++ b/src/HomeAutio.Mqtt.TiVo/appsettings.json @@ -16,9 +16,10 @@ "WriteTo": [ { "Name": "Console" }, { - "Name": "RollingFile", + "Name": "File", "Args": { - "pathFormat": "logs/HomeAutio.Mqtt.TiVo.log", + "path": "logs/HomeAutio.Mqtt.TiVo.log", + "rollingInterval": "Day", "retainedFileCountLimit": 31 } }