⚗️ 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
context: MCTG/
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:
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
depends_on: [ docker-build-and-push ]
# - 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
# depends_on: [ docker-build-and-push ]

Loading…
Cancel
Save