From 50c2f12a4a00764e4ad801025387ca95a199e982 Mon Sep 17 00:00:00 2001 From: Enzo JOLYS Date: Fri, 3 Mar 2023 16:02:40 +0100 Subject: [PATCH 1/4] =?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 | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/drone.yml b/drone.yml index a4825d5..748176e 100644 --- a/drone.yml +++ b/drone.yml @@ -74,6 +74,14 @@ steps: password: from_secret: toto + # container deployment + - name: deploy-container + image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dockerproxy-clientdrone:latest + environment: + IMAGENAME: hub.codefirst.iut.uca.fr/my.login/my_repository:latest + CONTAINERNAME: my_container_name + COMMAND: create + OVERWRITE: true volumes: - name: docs From b0481fcbf5118955e430e212e15e9fbedaf39e98 Mon Sep 17 00:00:00 2001 From: Enzo JOLYS Date: Fri, 3 Mar 2023 16:25:58 +0100 Subject: [PATCH 2/4] =?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 | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/drone.yml b/drone.yml index 748176e..5c2ab9d 100644 --- a/drone.yml +++ b/drone.yml @@ -61,6 +61,15 @@ steps: - master depends_on: [ build ] + # container deployment + - name: deploy-container + image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dockerproxy-clientdrone:latest + environment: + IMAGENAME: hub.codefirst.iut.uca.fr/my.login/my_repository:latest + CONTAINERNAME: my_container_name + COMMAND: create + OVERWRITE: true + # docker image build - name: docker-build-and-push image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dronesonarplugin-dotnet6 @@ -74,15 +83,6 @@ steps: password: from_secret: toto - # container deployment - - name: deploy-container - image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dockerproxy-clientdrone:latest - environment: - IMAGENAME: hub.codefirst.iut.uca.fr/my.login/my_repository:latest - CONTAINERNAME: my_container_name - COMMAND: create - OVERWRITE: true - volumes: - name: docs temp: {} \ No newline at end of file From 4c4c9cfd71f913d4295627f747b9ea54c372bb16 Mon Sep 17 00:00:00 2001 From: Enzo JOLYS Date: Fri, 3 Mar 2023 16:26:28 +0100 Subject: [PATCH 3/4] =?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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drone.yml b/drone.yml index 5c2ab9d..df4ac39 100644 --- a/drone.yml +++ b/drone.yml @@ -79,9 +79,9 @@ steps: registry: hub.codefirst.iut.uca.fr repo: hub.codefirst.iut.uca.fr/enzo.jolys/Api-LOL username: - from_secret: enzo + from_secret: SECRET_REGISTRY_USERNAME password: - from_secret: toto + from_secret: SECRET_REGISTRY_PASSWORD volumes: - name: docs From b06844ed43b312ce43c36dae098cc1e3b11d7a43 Mon Sep 17 00:00:00 2001 From: Enzo JOLYS Date: Fri, 3 Mar 2023 16:29:12 +0100 Subject: [PATCH 4/4] =?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 | 1 + 1 file changed, 1 insertion(+) diff --git a/drone.yml b/drone.yml index df4ac39..51ac07c 100644 --- a/drone.yml +++ b/drone.yml @@ -73,6 +73,7 @@ steps: # docker image build - name: docker-build-and-push image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dronesonarplugin-dotnet6 + depend: deploy-container settings: dockerfile: Sources/Dockerfile context: Sources/