From 2af201d74ee54c7b301948e0649a4b31606906a1 Mon Sep 17 00:00:00 2001 From: Thomas CHAZOT Date: Mon, 4 Dec 2023 13:13:08 +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 | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 6f5bf84..0346621 100644 --- a/.drone.yml +++ b/.drone.yml @@ -31,4 +31,32 @@ steps: settings: sonar_host: https://codefirst.iut.uca.fr/sonar/ sonar_token: - from_secret: SECRET_SONAR_LOGIN_CRYPTIDE \ No newline at end of file + from_secret: SECRET_SONAR_LOGIN_CRYPTIDE + + + + - name: container-web + image: plugins/docker + settings: + dockerfile: ./cryptide_project/Dockerfile + context: . + registry: hub.codefirst.iut.uca.fr + repo: hub.codefirst.iut.uca.fr/crypteam/social_graph/web + username: + from_secret: SECRET_REGISTRY_USERNAME + password: + from_secret: SECRET_REGISTRY_PASSWORD + + + +#container deployment + - name: deploy-server-containers + image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dockerproxy-clientdrone:latest + environment: + IMAGENAME: hub.codefirst.iut.uca.fr/crypteam/social_graph/web:latest + CONTAINERNAME: website-crypteam + COMMAND: create + OVERWRITE: true + #PRIVATE: true + ADMINS: thomaschazot2,pierreferreira,baptistemarcel + depends_on: [ container-web ]