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.

30 lines
830 B

kind: pipeline
type: docker
name: CD_PlotaFakeNews
trigger:
event:
- push
steps:
- name: docker_image
image: plugins/docker
settings:
dockerfile: src/app/Dockerfile
context: src/app/
registry: hub.codefirst.iut.uca.fr
repo: hub.codefirst.iut.uca.fr/hugo.livet/plota-fake-news
username:
from_secret: SECRET_REGISTRY_USERNAME
password:
from_secret: SECRET_REGISTRY_PASSWORD
- name: deploy-application
image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dockerproxy-clientdrone:latest
environment:
IMAGENAME: hub.codefirst.iut.uca.fr/hugo.livet/plota-fake-news:latest
CONTAINERNAME: PlotaFakeNews
COMMAND: create
OVERWRITE: true
ADMINS: axelde_la_fuente, hugolivet
depends_on: [ docker_image]