generated from Templates_CodeFirst/templateHtmlCss
Mise à jour de '.drone.yml'
continuous-integration/drone/push Build encountered an error
Details
continuous-integration/drone/push Build encountered an error
Details
parent
e702c07907
commit
1de9c8d9a3
@ -1,37 +1,34 @@
|
|||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: docker
|
type: docker
|
||||||
name: Deploiement
|
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
event:
|
event:
|
||||||
- push
|
- push
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: code-analysis
|
|
||||||
image: aosapps/drone-sonar-plugin
|
|
||||||
settings:
|
|
||||||
sonar_host:
|
|
||||||
from_secret: sonar_host
|
|
||||||
sonar_token:
|
|
||||||
from_secret: sonar_token
|
|
||||||
|
|
||||||
- name: docker-build-and-push
|
- name: docker-build-and-push
|
||||||
image: plugins/docker
|
image: hub.codefirst.iut.uca.fr/clement.freville2/plugins/kaniko:latest
|
||||||
settings:
|
settings:
|
||||||
dockerfile: docker/Dockerfile
|
dockerfile: docker/Dockerfile
|
||||||
context: .
|
context:
|
||||||
registry: hub.codefirst.iut.uca.fr
|
registry: hub.codefirst.iut.uca.fr
|
||||||
mirror: https://proxy.iut.uca.fr:8443
|
repo: hub.codefirst.iut.uca.fr/hugo.creneau/portfoliobutcreneauhugo
|
||||||
repo: hub.codefirst.iut.uca.fr/hugo.creneau/portfoliobutcreneauhugo
|
username:
|
||||||
username:
|
|
||||||
from_secret: SECRET_REGISTRY_USERNAME
|
from_secret: SECRET_REGISTRY_USERNAME
|
||||||
password:
|
password:
|
||||||
from_secret: SECRET_REGISTRY_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
|
- name: deploy-container
|
||||||
image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dockerproxy-clientdrone:latest
|
image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dockerproxy-clientdrone:latest
|
||||||
environment:
|
environment:
|
||||||
IMAGENAME: hub.codefirst.iut.uca.fr/hugo.creneau/portfoliobutcreneauhugo:latest
|
IMAGENAME: hub.codefirst.iut.uca.fr/hugo.creneau/portfoliobutcreneauhugo:latest
|
||||||
CONTAINERNAME: portfoliobutcreneauhugo
|
CONTAINERNAME: portfolio
|
||||||
COMMAND: create
|
COMMAND: create
|
||||||
OVERWRITE: true
|
OVERWRITE: true
|
||||||
|
depends_on:
|
||||||
|
- docker-build-and-push
|
||||||
|
Loading…
Reference in new issue