From 0e55668a63bfedcd7feefe683020bd5499e88361 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20MIELCAREK?= Date: Sat, 29 Oct 2022 18:50:06 +0200 Subject: [PATCH] Update '.drone.yml' Test deploy container for web server --- .drone.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 815c081..ed9a5f3 100644 --- a/.drone.yml +++ b/.drone.yml @@ -31,4 +31,13 @@ steps: - export PATH=$SONAR_SCANNER_HOME/bin:$PATH - export SONAR_SCANNER_OPTS="-server" - sonar-scanner -D sonar.projectKey=DAFLMusic -D sonar.sources=. -D sonar.host.url=https://codefirst.iut.uca.fr/sonar - depends_on: [ app-build ] \ No newline at end of file + depends_on: [ app-build ] + +# container deployment +- name: deploy-container + image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dockerproxy-clientdrone:latest + environment: + IMAGENAME: httpd:2.4 + CONTAINERNAME: api-redirect + COMMAND: create + OVERWRITE: true \ No newline at end of file