|
|
|
@ -73,22 +73,22 @@ steps:
|
|
|
|
|
from_secret: db_password
|
|
|
|
|
ADMINS: patrickbrugiere, antoinejourdain,luciegoigoux, marcchevaldonne
|
|
|
|
|
|
|
|
|
|
- name: docker-build-and-push
|
|
|
|
|
image: plugins/docker
|
|
|
|
|
settings:
|
|
|
|
|
dockerfile: Sources/Dockerfile
|
|
|
|
|
context: Sources/
|
|
|
|
|
registry: hub.codefirst.iut.uca.fr
|
|
|
|
|
repo: hub.codefirst.iut.uca.fr/my.login/myRepository
|
|
|
|
|
username:
|
|
|
|
|
from_secret: SECRET_REGISTRY_USERNAME
|
|
|
|
|
password:
|
|
|
|
|
from_secret: SECRET_REGISTRY_PASSWORD
|
|
|
|
|
# - name: docker-build-and-push
|
|
|
|
|
# image: plugins/docker
|
|
|
|
|
# settings:
|
|
|
|
|
# dockerfile: Sources/Dockerfile
|
|
|
|
|
# context: Sources/
|
|
|
|
|
# registry: hub.codefirst.iut.uca.fr
|
|
|
|
|
# repo: hub.codefirst.iut.uca.fr/my.login/myRepository
|
|
|
|
|
# username:
|
|
|
|
|
# from_secret: SECRET_REGISTRY_USERNAME
|
|
|
|
|
# password:
|
|
|
|
|
# from_secret: SECRET_REGISTRY_PASSWORD
|
|
|
|
|
|
|
|
|
|
- name: deploy-container
|
|
|
|
|
image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dockerproxy-clientdrone:latest
|
|
|
|
|
environment:
|
|
|
|
|
IMAGENAME: hub.codefirst.iut.uca.fr/my.login/my_repository:latest
|
|
|
|
|
CONTAINERNAME: my_container_name
|
|
|
|
|
COMMAND: create
|
|
|
|
|
OVERWRITE: true
|
|
|
|
|
# - name: deploy-container
|
|
|
|
|
# image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dockerproxy-clientdrone:latest
|
|
|
|
|
# environment:
|
|
|
|
|
# IMAGENAME: hub.codefirst.iut.uca.fr/my.login/my_repository:latest
|
|
|
|
|
# CONTAINERNAME: my_container_name
|
|
|
|
|
# COMMAND: create
|
|
|
|
|
# OVERWRITE: true
|