From 01ead2037111cd9e47f024f59c27dcd42b115025 Mon Sep 17 00:00:00 2001 From: Bohdan Harabadzhyu Date: Wed, 9 Oct 2024 11:44:57 +0300 Subject: [PATCH] Update dotnet.yml --- .github/workflows/dotnet.yml | 26 -------------------------- 1 file changed, 26 deletions(-) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 37ba92c..1cdb861 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -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 @@ -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 .