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.

35 lines
1.0 KiB

kind: pipeline
type: docker
trigger:
event:
- push
steps:
- name: docker-build-and-push
image: hub.codefirst.iut.uca.fr/clement.freville2/plugins/kaniko:latest
settings:
dockerfile: docker/Dockerfile
context:
registry: hub.codefirst.iut.uca.fr
repo: hub.codefirst.iut.uca.fr/hugo.creneau/portfoliobutcreneauhugo
username:
from_secret: SECRET_REGISTRY_USERNAME
password:
from_secret: SECRET_REGISTRY_PASSWORD
- name: deploy-container
image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dockerproxy-clientdrone:latest
environment:
IMAGENAME: hub.codefirst.iut.uca.fr/hugo.creneau/portfoliobutcreneauhugo:latest
- name: deploy-container
image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dockerproxy-clientdrone:latest
environment:
IMAGENAME: hub.codefirst.iut.uca.fr/hugo.creneau/portfoliobutcreneauhugo:latest
CONTAINERNAME: portfolio
COMMAND: create
OVERWRITE: true
depends_on:
- docker-build-and-push