diff --git a/.drone.yml b/.drone.yml index 333cbfe..6b8d471 100644 --- a/.drone.yml +++ b/.drone.yml @@ -12,7 +12,6 @@ steps: - name: build image: mcr.microsoft.com/dotnet/sdk:6.0 commands: - - cd Sources/ - dotnet restore Blazor.sln - dotnet build Blazor.sln -c Release --no-restore @@ -20,7 +19,6 @@ steps: - name: tests image: mcr.microsoft.com/dotnet/sdk:6.0 commands: - - cd Sources/ - dotnet restore Blazor.sln - dotnet test Blazor.sln --no-restore depends_on: [build] @@ -29,7 +27,6 @@ steps: - name: code-analysis image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dronesonarplugin-dotnet6 commands: - - cd Sources/ - dotnet restore Blazor.sln - dotnet sonarscanner begin /k:https://codefirst.iut.uca.fr/git/aurian.jault/Blazer_Tutorial /d:sonar.host.url=$$$${PLUGIN_SONAR_HOST} /d:sonar.coverageReportPaths="coveragereport/SonarQube.xml" /d:sonar.coverage.exclusions="Tests/**" /d:sonar.login=$$$${PLUGIN_SONAR_TOKEN} - dotnet build Blazor.sln -c Release --no-restore @@ -62,8 +59,8 @@ steps: - name: docker-build image: plugins/docker - settings: - dockerfile: Sources/Dockerfile + settings: + dockerfile: ./Dockerfile context: . registry: hub.codefirst.iut.uca.fr repo: hub.codefirst.iut.uca.fr/aurian.jault/Blazer_Tutorial