Mise à jour de '.drone.yml'
continuous-integration/drone/push Build is failing Details

pull/1/head
Théo DUPIN 2 years ago
parent f41e4f1119
commit 231e33bdef

@ -13,6 +13,7 @@ steps:
- dotnet restore LeagueOfLegends.sln
- dotnet build LeagueOfLegends.sln -c Release --no-restore
- dotnet publish LeagueOfLegends.sln -c Release --no-restore -o CI_PROJECT_DIR/build/release
depends_on: []
- name: tests
image: mcr.microsoft.com/dotnet/sdk:6.0
@ -33,14 +34,11 @@ steps:
- dotnet sonarscanner end /d:sonar.login=$${PLUGIN_SONAR_TOKEN}
secrets: [ SECRET_SONAR_LOGIN ]
settings:
# accessible en ligne de commande par $${PLUGIN SONAR HOST}
sonar_host: https://codefirst.iut.uca.fr/sonar/
# accessible en ligne de commande par $${PLUGIN_SONAR_TOKEN}
sonar_token:
from_secret: SECRET_SONAR_LOGIN
depends on: [tests]
depends_on: [tests]
# docker image build
- name: docker-build-and-push
image: plugins/docker
settings:
@ -52,6 +50,7 @@ steps:
from_secret: SECRET_REGISTRY_USERNAME
password:
from_secret: SECRET_REGISTRY_PASSWORD
depends_on: [code-analysis]
volumes:
- name: docs

Loading…
Cancel
Save