From 5b5376a4f64baf360e5b38e602705ba11f62a296 Mon Sep 17 00:00:00 2001 From: Rocher Date: Tue, 22 Oct 2024 09:36:32 +0200 Subject: [PATCH] test --- .drone.yml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/.drone.yml b/.drone.yml index 51caab7..5c9a8cd 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,29 +1,30 @@ kind: pipeline type: docker -name: Build_and_Deploy +name: Deploiement trigger: event: - push steps: - - name: build + - name: Build and Push image: plugins/docker settings: dockerfile: docker/Dockerfile # Le Dockerfile se trouve dans le dossier "docker" context: . # Le contexte de build est le répertoire racine registry: hub.codefirst.iut.uca.fr - repo: hub.codefirst.iut.uca.fr/wikifantasy/wf-database # Tout en minuscules + mirror: https://proxy.iut.uca.fr:8443/ + repo: hub.codefirst.iut.uca.fr/wikifantasy/wf-database # Références ajustées pour ton projet username: from_secret: SECRET_REGISTRY_USERNAME password: from_secret: SECRET_REGISTRY_PASSWORD - - name: deploy - image: docker:20.10.14 # Image Docker officielle avec les outils Docker + - name: Deploy + image: docker:20.10.14 # Image Docker standard environment: - IMAGENAME: hub.codefirst.iut.uca.fr/wikifantasy/wf-database - CONTAINERNAME: bd-wikifantasy + IMAGENAME: hub.codefirst.iut.uca.fr/wikifantasy/wf-database # Références ajustées + CONTAINERNAME: BD-WIKIFANTASY POSTGRES_PASSWORD: from_secret: POSTGRES_PASSWORD POSTGRES_DB: