Skip to content

Commit

Permalink
feat: remove deprecated (#18)
Browse files Browse the repository at this point in the history
* feat: remove deprecated

* fix: update curl test

* fix: add all errors

* Update DockerNetExample.csproj
  • Loading branch information
berviantoleo authored Nov 30, 2023
1 parent 00e222d commit e985b21
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: Up Service
run: docker compose up -d
- name: Test Service
run: sleep 1s && curl --location 'http://localhost:8000/WeatherForecast'
run: curl --connect-timeout 5 --max-time 10 --retry 5 --retry-delay 0 --retry-all-errors --retry-max-time 60 --location 'http://localhost:8000/WeatherForecast'
- name: Stop Service
if: always()
run: docker compose down
Expand Down
5 changes: 2 additions & 3 deletions DockerNetExample/DockerNetExample.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,12 @@
<TargetFramework>net8.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<ContainerImageName>docker-net-example</ContainerImageName>
<ContainerBaseImage>mcr.microsoft.com/dotnet/aspnet:8.0-preview</ContainerBaseImage>
<ContainerRepository>docker-net-example</ContainerRepository>
<ContainerBaseImage>mcr.microsoft.com/dotnet/aspnet:8.0</ContainerBaseImage>
<ContainerImageTags>2.0.0;latest</ContainerImageTags>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.NET.Build.Containers" Version="7.0.305" />
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.5.0" />
</ItemGroup>

Expand Down

0 comments on commit e985b21

Please sign in to comment.