From 84d18a4745a6f94418935a1037f068209761d3a3 Mon Sep 17 00:00:00 2001 From: khwezi Date: Sun, 8 Mar 2026 14:41:44 +0200 Subject: [PATCH 1/2] Upgraded to .nwt 10 --- .drone.yml | 4 ++-- SampleApi/SampleApi.csproj | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index ef36fdf..7990ca5 100644 --- a/.drone.yml +++ b/.drone.yml @@ -77,10 +77,10 @@ steps: --destination=index.docker.io/khwezi/webapitest:latest --destination=index.docker.io/khwezi/webapitest:${DRONE_BUILD_NUMBER} - - name: volnerability-scan + - name: volnerability scan image: aquasec/trivy commands: - - trivy image --exit-code 1 --severity CRITICAL khwezi/webapitest:${DRONE_BUILD_NUMBER} + - trivy image --exit-code 1 --timeout 15m --severity CRITICAL khwezi/webapitest:${DRONE_BUILD_NUMBER} --- kind: pipeline type: docker diff --git a/SampleApi/SampleApi.csproj b/SampleApi/SampleApi.csproj index 5b8289f..90ca474 100644 --- a/SampleApi/SampleApi.csproj +++ b/SampleApi/SampleApi.csproj @@ -1,7 +1,7 @@ - net8.0 + net10.0 enable enable cfe6b4ce-2d40-4273-b3a3-e4df67304fc5 -- 2.47.3 From 06ed9d2bad31e0a21b119cc529147ca01f9e1592 Mon Sep 17 00:00:00 2001 From: khwezi Date: Sun, 8 Mar 2026 14:42:33 +0200 Subject: [PATCH 2/2] Upgraded Dockerfile image from .net 8 to 10 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index d965267..1709a37 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS final +FROM mcr.microsoft.com/dotnet/aspnet:10.0 AS final WORKDIR /app USER app -- 2.47.3