-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from iAmBipinPaul/nuke-update-to-dotnet-8
Nuke update to dotnet 8
- Loading branch information
Showing
14 changed files
with
49 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"$schema": "./build.schema.json", | ||
"Solution": "AspNetCoreDevOps.sln" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
pool: | ||
vmImage: 'Ubuntu 18.04' | ||
vmImage: 'ubuntu-latest' | ||
variables: | ||
buildConfiguration: 'Release' | ||
steps: | ||
- task: DotNetCoreInstaller@0 | ||
- task: UseDotNet@2 | ||
inputs: | ||
version: '6.0.402' # replace this value with the version that you need for your project | ||
version: '8.x' # replace this value with the version that you need for your project | ||
- script: | | ||
dotnet run --project ./build/_build.csproj -GitHubAccessToken $(GithubAccessToken) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,15 @@ | ||
FROM mcr.microsoft.com/dotnet/sdk:6.0-alpine-amd64 AS buildimg | ||
FROM mcr.microsoft.com/dotnet/sdk:8.0.203-alpine3.19-amd64 AS buildimg | ||
WORKDIR /app | ||
COPY . . | ||
WORKDIR /app/src/AspNetCoreDevOps.Api | ||
RUN dotnet publish -c Release -o output | ||
|
||
FROM mcr.microsoft.com/dotnet/aspnet:6.0-alpine-amd64 | ||
FROM mcr.microsoft.com/dotnet/aspnet:8.0.3-alpine3.19-amd64 | ||
WORKDIR output | ||
COPY --from=buildimg /app/src/AspNetCoreDevOps.Api/output . | ||
|
||
LABEL org.opencontainers.image.source https://github.com/iAmBipinPaul/AspNetCoreDevOps | ||
|
||
ENTRYPOINT ["dotnet","AspNetCoreDevOps.Api.dll"] | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
test/AspNetCoreDevOps.Tests.Core/AspNetCoreDevOps.Tests.Core.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters