From 2e8d30c9d832e0c59ca24202aadafde9c3ee7834 Mon Sep 17 00:00:00 2001 From: Louis DUFOUR Date: Thu, 5 Oct 2023 11:25:41 +0200 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, 10 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index d9f20c4..a734804 100644 --- a/.drone.yml +++ b/.drone.yml @@ -76,7 +76,7 @@ steps: - hadolint Dockerfile # docker image build: - - name: docker-build-and-push + - name: create-image-docker image: plugins/docker settings: dockerfile: Sources/Dockerfile @@ -90,7 +90,7 @@ steps: # database container deployment - - name: deploy-container-mariadb + - name: deploy-mariadb image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dockerproxy-clientdrone:latest environment: IMAGENAME: mariadb:10 @@ -107,4 +107,11 @@ steps: CODEFIRST_CLIENTDRONE_ENV_MARIADB_PASSWORD: from_secret: db_password - \ No newline at end of file + # container deployment + - name: deploy-API + image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dockerproxy-clientdrone:latest + environment: + IMAGENAME: hub.codefirst.iut.uca.fr/louis.dufour/openlibraryws_wrapper:latest + CONTAINERNAME: ApiOpenLibrary + COMMAND: create + OVERWRITE: true \ No newline at end of file