File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -70,7 +70,6 @@ docker buildx build --load `
7070 -- build-arg VERSION= " $gitVersion " `
7171 -- cache- from " type=registry,ref=$LATEST_VERSION_IMAGE " `
7272 -- cache- to " type=inline" `
73- - t " $GIT_VERSION_IMAGE " `
7473 -f " $DockerfilePath " .
7574
7675$sw.Stop ()
Original file line number Diff line number Diff line change @@ -60,10 +60,7 @@ WORKDIR /src/authorization/EventTriangleAPI.Authorization.Presentation
6060
6161ARG VERSION
6262
63- RUN dotnet publish -c Release \
64- -p:Version=$VERSION \
65- -o /app/publish \
66- /p:UseAppHost=false
63+ RUN dotnet publish -c Release -o /app/publish /p:UseAppHost=false
6764
6865# ######################################################################################################
6966# FINAL IMAGE
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ RUN dotnet restore "consumer/EventTriangleAPI.Consumer.Presentation/EventTriangl
1616COPY . .
1717WORKDIR "consumer/EventTriangleAPI.Consumer.Presentation"
1818ARG VERSION
19- RUN dotnet publish "EventTriangleAPI.Consumer.Presentation.csproj" -c Release -p:Version=$VERSION - o /app/publish /p:UseAppHost=false
19+ RUN dotnet publish "EventTriangleAPI.Consumer.Presentation.csproj" -c Release -o /app/publish /p:UseAppHost=false
2020
2121FROM base AS final
2222WORKDIR /app
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ RUN dotnet restore "sender/EventTriangleAPI.Sender.Presentation/EventTriangleAPI
1919COPY . .
2020WORKDIR "sender/EventTriangleAPI.Sender.Presentation"
2121ARG VERSION
22- RUN dotnet publish "EventTriangleAPI.Sender.Presentation.csproj" -c Release -p:Version=$VERSION - o /app/publish /p:UseAppHost=false
22+ RUN dotnet publish "EventTriangleAPI.Sender.Presentation.csproj" -c Release -o /app/publish /p:UseAppHost=false
2323
2424FROM base AS final
2525WORKDIR /app
You can’t perform that action at this time.
0 commit comments