diff --git a/.github/workflows/build-analyze.yml b/.github/workflows/build-analyze.yml index 0707e1e..2765262 100644 --- a/.github/workflows/build-analyze.yml +++ b/.github/workflows/build-analyze.yml @@ -21,7 +21,7 @@ jobs: uses: actions/setup-dotnet@v4 with: dotnet-version: | - 8.0.x + 9.0.x - name: Build & Test run: | dotnet build Altinn.Auth.AuditLog.sln -v m @@ -35,7 +35,7 @@ jobs: uses: actions/setup-dotnet@v4 with: dotnet-version: | - 8.0.x + 9.0.x - name: Set up JDK 11 uses: actions/setup-java@v4 with: diff --git a/.github/workflows/build-deploy-at.yml b/.github/workflows/build-deploy-at.yml index a9ce96b..bfb3225 100644 --- a/.github/workflows/build-deploy-at.yml +++ b/.github/workflows/build-deploy-at.yml @@ -5,7 +5,7 @@ on: workflow_dispatch: env: - DOTNET_VERSION: '8.0.x' + DOTNET_VERSION: '9.0.x' jobs: build-container-app: diff --git a/.github/workflows/deploy-after-release.yml b/.github/workflows/deploy-after-release.yml index 62f5fda..39c762b 100644 --- a/.github/workflows/deploy-after-release.yml +++ b/.github/workflows/deploy-after-release.yml @@ -4,7 +4,7 @@ on: types: [released] env: - DOTNET_VERSION: '8.0.x' + DOTNET_VERSION: '9.0.x' REGISTRY: ghcr.io REPOSITORY: altinn/altinn-auth-audit-log diff --git a/.github/workflows/manual-build-deploy-function-app-to-environment.yml b/.github/workflows/manual-build-deploy-function-app-to-environment.yml index 72b2d00..f2c4938 100644 --- a/.github/workflows/manual-build-deploy-function-app-to-environment.yml +++ b/.github/workflows/manual-build-deploy-function-app-to-environment.yml @@ -11,7 +11,7 @@ on: description: The branch or tag to deploy env: - DOTNET_VERSION: '8.0.x' + DOTNET_VERSION: '9.0.x' jobs: build-function-app: diff --git a/.github/workflows/manual-build-deploy-to-environment.yml b/.github/workflows/manual-build-deploy-to-environment.yml index 8e46a58..9dc8c25 100644 --- a/.github/workflows/manual-build-deploy-to-environment.yml +++ b/.github/workflows/manual-build-deploy-to-environment.yml @@ -7,7 +7,7 @@ on: description: Select the environment env: - DOTNET_VERSION: '8.0.x' + DOTNET_VERSION: '9.0.x' jobs: build-container-app: diff --git a/Dockerfile b/Dockerfile index ac57902..e5fe6db 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Building the auditlog api -FROM mcr.microsoft.com/dotnet/sdk:8.0-alpine AS build +FROM mcr.microsoft.com/dotnet/sdk:9.0-alpine AS build ARG SOURCE_REVISION_ID=LOCALBUILD COPY src . @@ -9,7 +9,7 @@ RUN dotnet build Altinn.Auth.AuditLog.csproj -c Release -o /app_output -p Source RUN dotnet publish Altinn.Auth.AuditLog.csproj -c Release -o /app_output -p SourceRevisionId=${SOURCE_REVISION_ID} # Building the final image -FROM mcr.microsoft.com/dotnet/aspnet:8.0-alpine AS final +FROM mcr.microsoft.com/dotnet/aspnet:9.0-alpine AS final EXPOSE 5166 WORKDIR /app COPY --from=build /app_output . diff --git a/README.md b/README.md index 864e850..325185e 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ The auditlog api maps the events to the database model and stores them in the da The events are stored in the postgres database. ## Technologies - - .NET 8.0 + - .NET 9.0 - Azure Storage Queue - Azure Function App V4 - Azure Container App diff --git a/src/Altinn.Auth.AuditLog/Dockerfile b/src/Altinn.Auth.AuditLog/Dockerfile index f8178c3..037670c 100644 --- a/src/Altinn.Auth.AuditLog/Dockerfile +++ b/src/Altinn.Auth.AuditLog/Dockerfile @@ -1,11 +1,11 @@ #See https://aka.ms/customizecontainer to learn how to customize your debug container and how Visual Studio uses this Dockerfile to build your images for faster debugging. -FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS base +FROM mcr.microsoft.com/dotnet/aspnet:9.0 AS base WORKDIR /app EXPOSE 80 EXPOSE 443 -FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build +FROM mcr.microsoft.com/dotnet/sdk:9.0 AS build WORKDIR /src COPY ["Altinn.Auth.AuditLog/Altinn.Auth.AuditLog.csproj", "Altinn.Auth.AuditLog/"] RUN dotnet restore "Altinn.Auth.AuditLog/Altinn.Auth.AuditLog.csproj"