Ajouter '.drone.yml'
continuous-integration/drone/push Build is failing Details

master
Rayhân HASSOU 1 year ago
parent 46a993bf22
commit 1bf55ae6ed

@ -0,0 +1,29 @@
kind: pipeline
type: docker
name: Deploiement
trigger:
event:
- push
steps:
- name: docker-build-and-push
image: plugins/docker
settings:
dockerfile: docker/Dockerfile
context: .
registry: hub.codefirst.iut.uca.fr
mirror: https://proxy.iut.uca.fr:8443
repo: hub.codefirst.iut.uca.fr/rayhan.hassou/MyPortfolio
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.livet/portfolio:latest
CONTAINERNAME: Portfolio
COMMAND: create
OVERWRITE: true
Loading…
Cancel
Save