kind: pipeline type: docker name: Deploiement-Database trigger: event: - push steps: - name: deploy-container-postgresql image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dockerproxy-clientdrone:latest environment: IMAGENAME: postgres:17-alpine CONTAINERNAME: postgres-db OVERWRITE: true COMMAND: create OVERWRITE: false # Change à `true` si tu veux remplacer le conteneur existant. 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: marocher8, maxime.rocher # Facultatif pour partager avec d'autres comptes. - name: debug-deployment image: alpine commands: - echo "Conteneur déployé avec le nom WikiFantasy-postgres-db" - echo "Vérifie l'URL : https://codefirst.iut.uca.fr/containers/WikiFantasy-postgres-db"