changement drone.yml

master
Alexandre GLENAT 2 years ago
parent 0e0c1c3f36
commit 0a3784f7ba

@ -25,10 +25,9 @@ steps:
- cd Sources/ - cd Sources/
- dotnet restore ApiSolution.sln - dotnet restore ApiSolution.sln
- dotnet test ApiSolution.sln --no-restore - dotnet test ApiSolution.sln --no-restore
depends_on: depends_on: [build]
- build
- name: docker-build-and-push - name: docker-build
image: plugins/docker image: plugins/docker
settings: settings:
dockerfile: Sources/Api/Dockerfile dockerfile: Sources/Api/Dockerfile
@ -39,11 +38,7 @@ steps:
from_secret: SECRET_REGISTRY_USERNAME from_secret: SECRET_REGISTRY_USERNAME
password: password:
from_secret: SECRET_REGISTRY_PASSWORD from_secret: SECRET_REGISTRY_PASSWORD
depends_on: depends_on: [tests]
- tests
when:
branch:
- master
- name: deploy-container - name: deploy-container
image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dockerproxy-clientdrone:latest image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dockerproxy-clientdrone:latest

Binary file not shown.

Binary file not shown.
Loading…
Cancel
Save