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.
36 lines
1012 B
36 lines
1012 B
kind: pipeline
|
|
type: docker
|
|
name: Deploiement
|
|
|
|
trigger:
|
|
event:
|
|
- push
|
|
|
|
steps:
|
|
- name: Build and Push
|
|
image: plugins/docker
|
|
settings:
|
|
dockerfile: docker/Dockerfile
|
|
context: scripts
|
|
registry: hub.codefirst.iut.uca.fr
|
|
mirror: https://proxy.iut.uca.fr:8443
|
|
repo: hub.codefirst.iut.uca.fr/wikifantasy/wf-database
|
|
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
|
|
environment:
|
|
IMAGENAME: hub.codefirst.iut.uca.fr/wikifantasy/wf-database
|
|
CONTAINERNAME: WF_DATABASE
|
|
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
|