From df36f0e4300a27db896f94219dd2758fb8ea40a5 Mon Sep 17 00:00:00 2001 From: Hugo LIVET Date: Wed, 12 Oct 2022 09:12:31 +0000 Subject: [PATCH] Avec Docker --- .drone.yml | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/.drone.yml b/.drone.yml index 267e760..15e16aa 100644 --- a/.drone.yml +++ b/.drone.yml @@ -21,10 +21,14 @@ steps: - dotnet restore CI_CONSECO.sln - dotnet test CI_CONSECO.sln --no-restore depends_on: [build] - - name: code-analysis - image: aosapps/drone-sonar-plugin + - name: docker-build + image: plugins/docker settings: - sonar_host: - from_secret: https://codefirst.iut.uca.fr/sonar - sonar_token: - from_secret: sqp_ffc02968e133d03daeb917e8c2e6f243a80d087a \ No newline at end of file + dockerfile: Dockerfile + context: . + registry: hub.codefirst.iut.uca.fr + repo: hub.codefirst.iut.uca.fr/hugo.livet/ConsEco + username: + from_secret: SonarConsEco + password: + from_secret: sqp_ffc02968e133d03daeb917e8c2e6f243a80d087a \ No newline at end of file