⚗️ try CD docker image & container 5
continuous-integration/drone/push Build is passing Details

pull/37/head
Alexandre AGOSTINHO 2 years ago
parent c153dad67b
commit 017b5edd9d

@ -100,18 +100,18 @@ steps:
dockerfile: MCTG/Dockerfile dockerfile: MCTG/Dockerfile
context: MCTG/ context: MCTG/
registry: hub.codefirst.iut.uca.fr registry: hub.codefirst.iut.uca.fr
repo: hub.codefirst.iut.uca.fr/alexandre.agostinho/sae-2.01 repo: hub.codefirst.iut.uca.fr/alexandre.agostinho/cli-mctg
username: username:
from_secret: SECRET_REGISTRY_USERNAME from_secret: SECRET_REGISTRY_USERNAME
password: password:
from_secret: SECRET_REGISTRY_PASSWORD from_secret: SECRET_REGISTRY_PASSWORD
# Docker container deployement # Docker container deployement
- 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/alexandre.agostinho/sae-2.01:latest # IMAGENAME: hub.codefirst.iut.uca.fr/alexandre.agostinho/sae-2.01:latest
CONTAINERNAME: cli-mctg # CONTAINERNAME: cli-mctg
COMMAND: create # COMMAND: create
OVERWRITE: true # OVERWRITE: true
depends_on: [ docker-build-and-push ] # depends_on: [ docker-build-and-push ]

Loading…
Cancel
Save