kind: pipeline type: docker name: default steps: # 🐳 Étape de build et push dans la registry CodeFirst - name: docker-build-and-push image: plugins/docker settings: dockerfile: portfolio_siwa/Dockerfile context: . registry: hub.codefirst.iut.uca.fr repo: hub.codefirst.iut.uca.fr/jean.marcillac/portfolio-siwa username: from_secret: SECRET_REGISTRY_USERNAME password: from_secret: SECRET_REGISTRY_PASSWORD tags: - latest no_cache: true # 🚀 Étape de déploiement sur CodeFirst (création/MAJ du container) - name: deploy-container image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dockerproxy-clientdrone:latest environment: IMAGENAME: hub.codefirst.iut.uca.fr/jean.marcillac/portfolio-siwa:latest CONTAINERNAME: portfolio COMMAND: create OVERWRITE: true depends_on: - docker-build-and-push