From ced544f2d5a74030ad4d798ad248511bf386a2de Mon Sep 17 00:00:00 2001 From: Bastien OLLIER Date: Fri, 3 Mar 2023 14:02:10 +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 | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.drone.yml b/.drone.yml index 65b5c79..23f05ca 100644 --- a/.drone.yml +++ b/.drone.yml @@ -18,6 +18,19 @@ steps: - dotnet build LeagueOfLegends.sln -c Release --no-restore - 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/corentin.richard/entityframework_consodeservices_tp + + username: + from_secret: SECRET_REGISTRY_USERNAME + password: + from_secret: SECRET_REGISTRY_PASSWORD + - name: tests image: mcr.microsoft.com/dotnet/sdk:6.0 commands: