Skip to content

Commit

Permalink
Upaded CI and Docker config
Browse files Browse the repository at this point in the history
  • Loading branch information
oskardudycz committed Jan 2, 2024
1 parent 8745628 commit da5514d
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.dotnet.testcontainers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: "7.0.x"
dotnet-version: "8.0.x"

- name: Restore NuGet packages
run: dotnet restore
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build.dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: "7.0.x"
dotnet-version: "8.0.x"

- name: Restore NuGet packages
run: dotnet restore
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
########################################
# Use Build image with label `builder
########################################
FROM mcr.microsoft.com/dotnet/sdk:7.0-alpine AS builder
FROM mcr.microsoft.com/dotnet/sdk:8.0-alpine AS builder

# Setup working directory for project
WORKDIR /app
Expand Down Expand Up @@ -50,7 +50,7 @@ RUN dotnet publish -c Release --no-build -o out
# Use other build image as the final one
# that won't have source codes
########################################
FROM mcr.microsoft.com/dotnet/aspnet:7.0-alpine
FROM mcr.microsoft.com/dotnet/aspnet:8.0-alpine

# Setup working directory for project
WORKDIR /app
Expand Down
4 changes: 2 additions & 2 deletions Sample/Helpdesk/Helpdesk.Api/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG dotnet_version=7.0
ARG dotnet_version=8.0
########################################
# First stage of multistage build
########################################
Expand Down Expand Up @@ -45,7 +45,7 @@ RUN dotnet publish -c Release --no-build -o out
########################################
FROM mcr.microsoft.com/dotnet/aspnet:${dotnet_version}-alpine
ARG project_name
ARG dotnet_version=7.0
ARG dotnet_version=8.0

# Setup working directory for project
WORKDIR /app
Expand Down
2 changes: 1 addition & 1 deletion Workshops/IntroductionToEventSourcing/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Read also more in my article [Introduction to Event Sourcing - Self Paced Kit](h

1. Install git - https://git-scm.com/downloads.
2. Clone this repository.
3. Install .NET 7.0 - https://dotnet.microsoft.com/download/dotnet/7.0.
3. Install .NET 8.0 - https://dotnet.microsoft.com/download/dotnet/8.0.
4. Install Visual Studio, Rider or VSCode.
5. Install docker - https://docs.docker.com/engine/install/.
6. Open [Exercises.sln](./Exercises.sln) solution.
Expand Down

0 comments on commit da5514d

Please sign in to comment.