You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
1.3 KiB

4 months ago
kind: pipeline
type: docker
4 months ago
name: Deploiement
4 months ago
trigger:
event:
4 months ago
- push
4 months ago
steps:
4 months ago
- name: Build and Push
4 months ago
image: plugins/docker
settings:
4 months ago
dockerfile: docker/Dockerfile # Le Dockerfile se trouve dans le dossier "docker"
context: . # Le contexte de build est le répertoire racine
4 months ago
registry: hub.codefirst.iut.uca.fr
4 months ago
mirror: https://proxy.iut.uca.fr:8443/
repo: hub.codefirst.iut.uca.fr/wikifantasy/wf-database # Références ajustées pour ton projet
4 months ago
username:
from_secret: SECRET_REGISTRY_USERNAME
password:
from_secret: SECRET_REGISTRY_PASSWORD
4 months ago
4 months ago
- name: Deploy
4 months ago
image: hub.codefirst.iut.uca.fr/celeste.barbosa/codefirst-dockerproxy-clientdrone # Image proxy spécifique au projet
4 months ago
environment:
4 months ago
IMAGENAME: hub.codefirst.iut.uca.fr/wikifantasy/wf-database # Références ajustées
CONTAINERNAME: BD-WIKIFANTASY
4 months ago
COMMAND: create
OVERWRITE: false
PRIVATE: true
CODEFIRST_CLIENTDRONE_ENV_POSTGRES_PASSWORD:
4 months ago
from_secret: POSTGRES_PASSWORD
4 months ago
CODEFIRST_CLIENTDRONE_ENV_POSTGRES_DB:
4 months ago
from_secret: POSTGRES_DB
4 months ago
CODEFIRST_CLIENTDRONE_ENV_POSTGRES_USER:
4 months ago
from_secret: POSTGRES_USER
4 months ago
ADMINS: maximerocher # Admins ajustés pour ton projet
4 months ago