From 4dbd20d6f83d6b819ed0f18557958a0323615d34 Mon Sep 17 00:00:00 2001 From: thdupin2 Date: Mon, 17 Jun 2024 20:09:55 +0200 Subject: [PATCH] :rocket: add: CD job --- .drone.yml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index 2ae4c43..2c7da61 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,7 +1,16 @@ kind: pipeline type: docker -name: CI +name: CD trigger: event: - - push \ No newline at end of file + - push + +# container deployment +- name: deploy-container + image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dockerproxy-clientdrone:latest + environment: + IMAGENAME: hub.codefirst.iut.uca.fr/theo.dupin/Portfolio:latest + CONTAINERNAME: portfolio_container + COMMAND: create + OVERWRITE: true \ No newline at end of file