|
|
@ -3,12 +3,11 @@ type: docker
|
|
|
|
name: default
|
|
|
|
name: default
|
|
|
|
|
|
|
|
|
|
|
|
steps:
|
|
|
|
steps:
|
|
|
|
# 🐳 Étape de build et push dans la registry CodeFirst
|
|
|
|
|
|
|
|
- name: docker-build-and-push
|
|
|
|
- name: docker-build-and-push
|
|
|
|
image: plugins/docker
|
|
|
|
image: plugins/docker
|
|
|
|
settings:
|
|
|
|
settings:
|
|
|
|
dockerfile: portfolio_siwa/Dockerfile
|
|
|
|
dockerfile: Dockerfile
|
|
|
|
context: .
|
|
|
|
context: .
|
|
|
|
registry: hub.codefirst.iut.uca.fr
|
|
|
|
registry: hub.codefirst.iut.uca.fr
|
|
|
|
repo: hub.codefirst.iut.uca.fr/jean.marcillac/portfolio-siwa
|
|
|
|
repo: hub.codefirst.iut.uca.fr/jean.marcillac/portfolio-siwa
|
|
|
|
username:
|
|
|
|
username:
|
|
|
@ -19,7 +18,7 @@ steps:
|
|
|
|
- latest
|
|
|
|
- latest
|
|
|
|
no_cache: true
|
|
|
|
no_cache: true
|
|
|
|
|
|
|
|
|
|
|
|
# 🚀 Étape de déploiement sur CodeFirst (création/MAJ du container)
|
|
|
|
|
|
|
|
- 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:
|
|
|
|