diff --git a/.drone.yml b/.drone.yml index 0bc42e3..2fd972d 100644 --- a/.drone.yml +++ b/.drone.yml @@ -25,9 +25,10 @@ steps: - cd Sources/ - dotnet restore ApiSolution.sln - dotnet test ApiSolution.sln --no-restore - depends_on: [build] + depends_on: + - build - - name: docker-build + - name: docker-build-and-push image: plugins/docker settings: dockerfile: Sources/Api/Dockerfile @@ -38,7 +39,11 @@ steps: from_secret: SECRET_REGISTRY_USERNAME password: from_secret: SECRET_REGISTRY_PASSWORD - depends_on: [tests] + depends_on: + - tests + when: + branch: + - master - name: deploy-container image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dockerproxy-clientdrone:latest diff --git a/.vs/slnx.sqlite b/.vs/slnx.sqlite index 9d262e0..4f19507 100644 Binary files a/.vs/slnx.sqlite and b/.vs/slnx.sqlite differ