Mise à jour de '.drone.yml'
continuous-integration/drone/push Build is passing Details

master
Céleste BARBOSA 10 months ago
parent fddcdc02c7
commit c3b03750ae

@ -41,31 +41,6 @@ steps:
- reportgenerator -reports:"**/coverage.cobertura.xml" -reporttypes:SonarQube -targetdir:"coveragereport"
- dotnet publish mastermindSansMaui.sln -c Release --no-restore -o CI_PROJECT_DIR/build/release
- dotnet sonarscanner end /d:sonar.login=$${sonar_token}
- name: docker-build-and-push
image: plugins/docker
settings:
dockerfile: Docker/Dockerfile
context: .
registry: hub.codefirst.iut.uca.fr
mirror: https://proxy.iut.uca.fr:8443
repo: hub.codefirst.iut.uca.fr/nicolas.barbosa/mastermind
username:
from_secret: SECRET_REGISTRY_USERNAME
password:
from_secret: SECRET_REGISTRY_PASSWORD
depends_on: [build]
when:
branch:
- master
- name: deploy-container
image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dockerproxy-clientdrone:latest
environment:
IMAGENAME: hub.codefirst.iut.uca.fr/nicolas.barbosa/mastermind:latest
CONTAINERNAME: mastermind
COMMAND: create
OVERWRITE: true
ADMINS: celestebarbosa,paulineprady,camilleturpinetienne
depends_on: [docker-build-and-push]
- name: generate-and-deploy-docs
image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-docdeployer
failure: ignore

Loading…
Cancel
Save