From ae157c682dc78e9f3a4934addf31b41272eb1f29 Mon Sep 17 00:00:00 2001 From: Thomas BELLEMBOIS Date: Sun, 17 Nov 2024 07:37:25 +0100 Subject: [PATCH] Ajouter '.drone.yml' --- .drone.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..a4fa854 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,20 @@ +kind: pipeline +type: docker +name: build + +trigger: + event: + - push + +steps: + - name: docker-build + image: plugins/docker + settings: + dockerfile: Dockerfile + context: . + registry: hub.codefirst.iut.uca.fr + repo: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-strykerdeployer + username: + from_secret: SECRET_REGISTRY_USERNAME + password: + from_secret: SECRET_REGISTRY_PASSWORD