Skip to content

Commit

Permalink
update dotnet version in yaml actions
Browse files Browse the repository at this point in the history
  • Loading branch information
pm7y committed May 14, 2022
1 parent 397e1a4 commit 0e3f036
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand Down

0 comments on commit 0e3f036

Please sign in to comment.