From e3bb8a808ddbaea8ed61058759f706255ee860d8 Mon Sep 17 00:00:00 2001 From: Thomas CHAZOT Date: Tue, 10 Jan 2023 20:53:23 +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 | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/.drone.yml b/.drone.yml index 8fe8504..3c7f93d 100644 --- a/.drone.yml +++ b/.drone.yml @@ -66,6 +66,33 @@ steps: ADMINS: thomaschazot2,mathildejean3,lilianbreton,luciebedouret,albanguilhot,cedricbouhours depends_on: [ deploy-container-mysql, container-api ] + # docker image build + - name: container-server + image: plugins/docker + settings: + dockerfile: ./bob_party/Dockerfile + context: . + registry: hub.codefirst.iut.uca.fr + repo: hub.codefirst.iut.uca.fr/bob_parteam/bob_party + 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/bob_parteam/bob_party:latest + CONTAINERNAME: server-bobParty + COMMAND: create + OVERWRITE: true + #PRIVATE: true + ADMINS: thomaschazot2,mathildejean3,lilianbreton,luciebedouret,albanguilhot,cedricbouhours + depends_on: [ deploy-container-mysql, container-api ] +