From 460d9fc1ba72553afe133d05360107341ee98d68 Mon Sep 17 00:00:00 2001 From: Maxence LANONE Date: Mon, 20 Mar 2023 17:04:18 +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 | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/.drone.yml b/.drone.yml index 9db81b1..1c17afa 100644 --- a/.drone.yml +++ b/.drone.yml @@ -47,19 +47,30 @@ steps: from_secret: SECRET_SONAR_LOGIN depends on: [tests] - # docker image build - - name: docker-build-and-push + # docker image build + - name: docker-build image: plugins/docker settings: - dockerfile: Dockerfile - context: WebApiLol + dockerfile: Sources/Trek12_API/Dockerfile + context: Sources/ registry: hub.codefirst.iut.uca.fr - repo: hub.codefirst.iut.uca.fr/maxence.lanone/EfCore_LoL_S4 + repo: hub.codefirst.iut.uca.fr/Trek_Prod/Trek12_API username: from_secret: SECRET_REGISTRY_USERNAME password: from_secret: SECRET_REGISTRY_PASSWORD + # container deployment + - name: deploy-container + image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dockerproxy-clientdrone:latest + environment: + IMAGENAME: hub.codefirst.iut.uca.fr/Trek_Prod/Trek12_API:latest + CONTAINERNAME: trek12api + COMMAND: create + OVERWRITE: true + ADMINS: maxencelanone, aurelienpintrand, theodupin, zakariyasaoula + depends_on: [ docker-build ] + volumes: - name: docs temp: {}