Skip to content

Commit

Permalink
Update dotnet.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMysteriousStranger90 authored Oct 9, 2024
1 parent 438866a commit 01ead20
Showing 1 changed file with 0 additions and 26 deletions.
26 changes: 0 additions & 26 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,26 +13,6 @@ jobs:
build:
runs-on: ubuntu-latest

services:
sql:
image: mcr.microsoft.com/mssql/server:2022-latest
env:
SA_PASSWORD: "MyPass@word90_"
ACCEPT_EULA: "Y"
ports:
- 1433:1433
options: >-
--health-cmd "/opt/mssql-tools/bin/sqlcmd -S localhost -U sa -P MyPass@word90_ -Q 'SELECT 1'"
--health-interval 10s
--health-timeout 10s
--health-retries 5
redis:
image: redis:latest
ports:
- 6379:6379
options: --health-cmd "redis-cli ping"

steps:
- name: Checkout code
uses: actions/checkout@v3
Expand All @@ -50,9 +30,3 @@ jobs:

- name: Test
run: dotnet test --no-restore --verbosity normal

- name: Publish
run: dotnet publish --configuration Release --no-restore --output ./publish

- name: Build Docker image
run: docker build -t fashionclothesandtrends-webapi:latest -f ./FashionClothesAndTrends.WebAPI/Dockerfile .

0 comments on commit 01ead20

Please sign in to comment.