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