kind: pipeline type: docker name: build trigger: event: - push # docker image build - 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 # container deployment - 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