From 0e3f0364c0a03e63b473a5e3f7a9fd7e431a2810 Mon Sep 17 00:00:00 2001 From: Paul Mcilreavy Date: Sat, 14 May 2022 10:42:52 +1000 Subject: [PATCH] update dotnet version in yaml actions --- .github/workflows/ci.yml | 2 +- .github/workflows/release.yml | 2 +- Dockerfile | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f85702c..128efbf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,7 +8,7 @@ on: workflow_dispatch: env: - DOTNET_VERSION: 5.0.x + DOTNET_VERSION: 6.0.x SOLUTION_PATH: ./src/AzureEventGridSimulator.sln CONFIGURATION: Release diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8218ea1..df8fd5d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,7 +14,7 @@ on: env: VERSION_NUMBER: ${{ github.event.inputs.tag_name }} BUILD_NUMBER: ${{ github.event.inputs.tag_name }}.${{ github.run_number }} - DOTNET_VERSION: 5.0.x + DOTNET_VERSION: 6.0.x SOLUTION_PATH: ./src/AzureEventGridSimulator.sln PROJECT_PATH: ./src/AzureEventGridSimulator/AzureEventGridSimulator.csproj CONFIGURATION: Release diff --git a/Dockerfile b/Dockerfile index 97ebffb..c49cb37 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # start with an sdk enabled alpine image so we can build source -FROM mcr.microsoft.com/dotnet/sdk:5.0-alpine as build +FROM mcr.microsoft.com/dotnet/sdk:6.0-alpine as build WORKDIR /source # copy source @@ -18,7 +18,7 @@ RUN dotnet publish -c release -o /artifact \ -p:TrimUnusedDependencies=true # add binary artifact to new runtime-deps only image -FROM mcr.microsoft.com/dotnet/runtime-deps:5.0-alpine +FROM mcr.microsoft.com/dotnet/runtime-deps:6.0-alpine WORKDIR /app # add tzdata incase we want to set the timezone