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

master
Hugo CRENEAU 2 months ago
parent 04867d4bca
commit 6a19311fd5

@ -19,11 +19,11 @@ steps:
from_secret: SECRET_REGISTRY_USERNAME
password:
from_secret: SECRET_REGISTRY_PASSWORD
no_cache: true # Force la reconstruction complète de l'image
- 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: portfoliobutcreneauhugo
COMMAND: create
OVERWRITE: true
commands:
- docker rm -f portfoliobutcreneauhugo || true # Supprime l'ancien conteneur s'il existe
- docker pull hub.codefirst.iut.uca.fr/hugo.creneau/portfoliobutcreneauhugo:latest # Force le pull de l'image
- docker run -d --name portfoliobutcreneauhugo -p 80:80 hub.codefirst.iut.uca.fr/hugo.creneau/portfoliobutcreneauhugo:latest
Loading…
Cancel
Save