kind: pipeline type: docker name: CI_CD_LeapHit trigger: event: - push steps: - name: build-docker-image image: plugins/docker settings: dockerfile: code/Dockerfile context: code/ registry: hub.codefirst.iut.uca.fr repo: hub.codefirst.iut.uca.fr/leap-hit-team/leap-hit-server username: from_secret: SECRET_REGISTRY_USERNAME password: from_secret: SECRET_REGISTRY_PASSWORD # container deployment - name: deploy-server image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dockerproxy-clientdrone:latest environment: IMAGENAME: hub.codefirst.iut.uca.fr/leap-hit-team/leap-hit-server:latest CONTAINERNAME: server-container COMMAND: create OVERWRITE: true ADMINS: brunoda_costa_cunha,noanrandon,ramikhedair,lorisperret,hugolivet depends_on: [ build-docker-image ]