kind: pipeline type: docker trigger: event: - push steps: - name: sonar image: sonarsource/sonar-scanner-cli:5 commands: - sonar-scanner -Dsonar.projectKey=drone-health-clfreville2 -Dsonar.sources=. -Dsonar.login=$${PLUGIN_SONAR_TOKEN} -Dsonar.host.url=$${PLUGIN_SONAR_HOST} -Dsonar.php.coverage.reportPaths=coverage.xml settings: sonar_host: from_secret: sonar_host sonar_token: from_secret: sonar_token - name: docker-build-and-push image: plugins/docker settings: dockerfile: docker/Dockerfile context: . registry: hub.codefirst.iut.uca.fr repo: hub.codefirst.iut.uca.fr/clement.freville2/drone-health username: from_secret: SECRET_REGISTRY_USERNAME password: from_secret: SECRET_REGISTRY_PASSWORD - name: deploy-container image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dockerproxy-clientdrone:latest environment: IMAGENAME: hub.codefirst.iut.uca.fr/clement.freville2/drone-health:latest CONTAINERNAME: drone-health COMMAND: create OVERWRITE: true CODEFIRST_CLIENTDRONE_ENV_CONTAINER_PATH: clement.freville2-drone-health/