Mise à jour de '.drone.yml'
continuous-integration/drone/push Build is passing Details

master
Hugo CRENEAU 5 months ago
parent 1de9c8d9a3
commit bcd6660a16

@ -1,34 +1,37 @@
kind: pipeline
type: docker
name: Deploiement
trigger:
event:
- push
steps:
- name: docker-build-and-push
image: hub.codefirst.iut.uca.fr/clement.freville2/plugins/kaniko:latest
- name: code-analysis
image: aosapps/drone-sonar-plugin
settings:
dockerfile: docker/Dockerfile
context:
registry: hub.codefirst.iut.uca.fr
repo: hub.codefirst.iut.uca.fr/hugo.creneau/portfoliobutcreneauhugo
username:
sonar_host:
from_secret: sonar_host
sonar_token:
from_secret: sonar_token
- name: docker-build-and-push
image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dockerproxy-clientdrone:latest
settings:
dockerfile: docker/Dockerfile
context: .
registry: hub.codefirst.iut.uca.fr
mirror: https://proxy.iut.uca.fr:8443
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
CONTAINERNAME: portfoliobutcreneauhugo
COMMAND: create
OVERWRITE: true
depends_on:
- docker-build-and-push
OVERWRITE: true
Loading…
Cancel
Save