⚗️ 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
image: plugins/docker
settings:
dockerfile: MCTG/Dockerfile
context: MCTG/
registry: hub.codefirst.iut.uca.fr
repo: hub.codefirst.iut.uca.fr/alexandre.agostinho/SAE-2.01
username:
from_secret: SECRET_REGISTRY_USERNAME
password:
from_secret: SECRET_REGISTRY_PASSWORD
dockerfile: MCTG/Dockerfile
context: MCTG/
registry: hub.codefirst.iut.uca.fr
repo: hub.codefirst.iut.uca.fr/alexandre.agostinho/SAE-2.01
username:
from_secret: SECRET_REGISTRY_USERNAME
password:
from_secret: SECRET_REGISTRY_PASSWORD
# Docker container deployement
- name: deploy-container
image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dockerproxy-clientdrone:latest
environment:
IMAGENAME: hub.codefirst.iut.uca.fr/alexandre.agostinho/SAE-2.01:latest
CONTAINERNAME: cli-mctg
COMMAND: create
OVERWRITE: true
IMAGENAME: hub.codefirst.iut.uca.fr/alexandre.agostinho/SAE-2.01:latest
CONTAINERNAME: cli-mctg
COMMAND: create
OVERWRITE: true
depends_on: [ docker-build-and-push ]

Loading…
Cancel
Save