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
764 B

kind: pipeline
type: docker
name: portfolio
trigger:
event:
- push
steps:
- name: portfolio-build
image: plugins/docker
settings:
dockerfile: Dockerfile
context: .
registry: hub.codefirst.iut.uca.fr
repo: hub.codefirst.iut.uca.fr/vincent.astolfi/portfolio
username:
from_secret: registry-username
password:
from_secret: registry-password
- name: portfolio-deployment
image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dockerproxy-clientdrone:latest
environment:
IMAGENAME: hub.codefirst.iut.uca.fr/vincent.astolfi/portfolio:latest
CONTAINERNAME: portfolio
COMMAND: create
OVERWRITE: true
ADMINS: vincentastolfi
depends_on: [portfolio-build]