kind: pipeline type: docker name: Deploiement trigger: event: - push steps: - 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 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: hub.codefirst.iut.uca.fr/celeste.barbosa/codefirst-dockerproxy-clientdrone # Image proxy spécifique au projet environment: IMAGENAME: hub.codefirst.iut.uca.fr/wikifantasy/wf-database # Références ajustées CONTAINERNAME: BD-WIKIFANTASY COMMAND: create OVERWRITE: false PRIVATE: true CODEFIRST_CLIENTDRONE_ENV_POSTGRES_PASSWORD: from_secret: POSTGRES_PASSWORD CODEFIRST_CLIENTDRONE_ENV_POSTGRES_DB: from_secret: POSTGRES_DB CODEFIRST_CLIENTDRONE_ENV_POSTGRES_USER: from_secret: POSTGRES_USER ADMINS: maximerocher # Admins ajustés pour ton projet