From 3faac724939a2449d23d44203b3484e536e5683c Mon Sep 17 00:00:00 2001 From: Emre KARTAL Date: Thu, 7 Dec 2023 11:34:11 +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 | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 7d35dfe..cf2cae6 100644 --- a/.drone.yml +++ b/.drone.yml @@ -35,7 +35,7 @@ steps: kind: pipeline type: docker -name: FLAD-API +name: FLAD-API-MQTT trigger: event: @@ -72,6 +72,28 @@ steps: ADMINS: emrekartal,davidd_almeida, depends_on: [ docker-build-and-push ] + - name: docker-build-and-push-mqtt + image: plugins/docker + settings: + dockerfile: src/Mqtt/Dockerfile + context: src/Mqtt + registry: hub.codefirst.iut.uca.fr + repo: hub.codefirst.iut.uca.fr/david.d_almeida/flad + username: + from_secret: SECRET_REGISTRY_USERNAME_MQTT + password: + from_secret: SECRET_REGISTRY_PASSWORD_MQTT + + - name: deploy-container-mqtt + image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dockerproxy-clientdrone:latest + environment: + IMAGENAME: hub.codefirst.iut.uca.fr/david.d_almeida/flad:latest + CONTAINERNAME: mqtt + COMMAND: create + OVERWRITE: true + ADMINS: emrekartal,davidd_almeida + depends_on: [ docker-build-and-push-mqtt ] + - name: code-analysis image: node:latest environment: