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.
33 lines
826 B
33 lines
826 B
kind: pipeline
|
|
type: docker
|
|
name: Portfolio
|
|
|
|
trigger:
|
|
event:
|
|
- push
|
|
|
|
steps:
|
|
|
|
- name: build-portfolio
|
|
image: hub.codefirst.iut.uca.fr/clement.freville2/plugins/kaniko:latest
|
|
settings:
|
|
dockerfile: ./Dockerfile
|
|
context: .
|
|
registry: hub.codefirst.iut.uca.fr
|
|
registry_mirrors: mirror.gcr.io
|
|
repo: hub.codefirst.iut.uca.fr/aurian.jault/voila
|
|
username:
|
|
from_secret: SECRET_USERNAME
|
|
password:
|
|
from_secret: SECRET_PASSWD
|
|
|
|
- name: deploy-portfolio
|
|
image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dockerproxy-clientdrone:latest
|
|
environment:
|
|
IMAGENAME: hub.codefirst.iut.uca.fr/aurian.jault/voila:latest
|
|
CONTAINERNAME: voila
|
|
COMMAND: create
|
|
OVERWRITE: true
|
|
ADMINS: aurianjault
|
|
depends_on: [ build-portfolio]
|