From f9483a34fb6ffde029789ef7a647c6410cc81a27 Mon Sep 17 00:00:00 2001 From: "ludovic.castglia" Date: Fri, 18 Oct 2024 17:42:38 +0200 Subject: [PATCH] test drone --- .drone.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..a57704d --- /dev/null +++ b/.drone.yml @@ -0,0 +1,30 @@ +kind: pipeline +type: docker +name: Deploiement + + +trigger: + event: + - push + +steps: + - name: docker-push + image: plugins/docker + settings: + dockerfile: .Dockerfile + context: . + registry: hub.codefirst.iut.uca.fr + mirror: https://proxy.iut.uca.fr:8443 + repo: hub.codefirst.iut.uca.fr/ludovic.castiglia/angular_minigame + username: + from_secret: SECRET_REGISTRY_USERNAME + password: + from_secret: SECRET_REGISTRY_PASSWORD + + - name: deploy-container + image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dockerproxy-clientdrone:latest + environment: + IMAGENAME: hub.codefirst.iut.uca.fr/ludovic.castiglia/angular_minigame:latest + CONTAINERNAME: sudoku + COMMAND: create + OVERWRITE: true \ No newline at end of file