From a631060d1f9278fbca2998f17de926291bdc21e8 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Wed, 11 Jan 2023 21:01:36 +0000 Subject: [PATCH] chore(deps): update mcr.microsoft.com/dotnet/sdk docker tag to v7 --- .drone.yml | 6 +++--- Dockerfile | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index 7847aae..7f79175 100644 --- a/.drone.yml +++ b/.drone.yml @@ -4,17 +4,17 @@ type: docker steps: - name: Install Dependencies - image: mcr.microsoft.com/dotnet/sdk:6.0 + image: mcr.microsoft.com/dotnet/sdk:7.0 commands: - dotnet restore ./src - name: Build - image: mcr.microsoft.com/dotnet/sdk:6.0 + image: mcr.microsoft.com/dotnet/sdk:7.0 commands: - dotnet build --configuration Release ./src - name: Test - image: mcr.microsoft.com/dotnet/sdk:6.0 + image: mcr.microsoft.com/dotnet/sdk:7.0 commands: - sed -i "s/127\.0\.0\.1/database/g" ./src/Tests/BirdsiteLive.DAL.Postgres.Tests/DataAccessLayers/Base/PostgresTestingBase.cs - dotnet test --verbosity minimal ./src diff --git a/Dockerfile b/Dockerfile index ddea49f..ccd0a02 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,7 @@ WORKDIR /app EXPOSE 80 EXPOSE 443 -FROM mcr.microsoft.com/dotnet/sdk:6.0 AS publish +FROM mcr.microsoft.com/dotnet/sdk:7.0 AS publish WORKDIR / COPY ./src/ ./src/ RUN dotnet publish "/src/BirdsiteLive/BirdsiteLive.csproj" -c Release -o /app/publish \ -- 2.45.2