kind: pipeline type: docker name: build trigger: event: - push steps: - name: docker-build-and-push image: plugins/docker settings: dockerfile: Dockerfile context: . registry: hub.codefirst.iut.uca.fr repo: hub.codefirst.iut.uca.fr/maxence.lanone/drone-sonarplugin-reactnative 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/maxence.lanone/drone-sonarplugin-reactnative:latest CONTAINERNAME: drone-sonarplugin-reactnative COMMAND: create OVERWRITE: true depends_on: [ docker-build-and-push ]