⚗️ try CD docker image & container
continuous-integration/drone/push Build encountered an error Details

pull/37/head
Alexandre AGOSTINHO 2 years ago
parent a25e52eeca
commit d1f8808e5b

@ -96,21 +96,21 @@ steps:
- name: docker-build-and-push - name: docker-build-and-push
image: plugins/docker image: plugins/docker
settings: settings:
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/SAE-2.01
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