From 7d6bee6a89eef2dc97b9e02952747a74bf16f371 Mon Sep 17 00:00:00 2001 From: Bastien OLLIER Date: Fri, 3 Mar 2023 14:11:48 +0100 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20'.drone.yml'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .drone.yml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 1c1c7ab..a5e7d40 100644 --- a/.drone.yml +++ b/.drone.yml @@ -16,7 +16,20 @@ steps: - cd Sources/ - 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 + - dotnet publish LeagueOfLegends.sln -c Release --no-restore -o CI_PROJECT_DIR/build/release + + - name: docker-build-and-push + image: plugins/docker + settings: + dockerfile: Sources/apiLOL/Dockerfile + context: Sources/ + registry: hub.codefirst.iut.uca.fr + repo: hub.codefirst.iut.uca.fr/bastien.ollier/LOL + + username: + from_secret: SECRET_REGISTRY_USERNAME + password: + from_secret: SECRET_REGISTRY_PASSWORD - name: tests image: mcr.microsoft.com/dotnet/sdk:6.0