|
|
|
@ -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 ]
|
|
|
|
|