diff --git a/drone.yml b/drone.yml index 0807e4e..2ee3b5f 100644 --- a/drone.yml +++ b/drone.yml @@ -2,6 +2,7 @@ kind: pipeline type: docker name: default + trigger: event: - push @@ -34,7 +35,7 @@ steps: dockerfile: Sources/Dockerfile context: Sources/ registry: hub.codefirst.iut.uca.fr - repo: hub.codefirst.iut.uca.fr/enzo.jolys/Api-LOL + repo: hub.codefirst.iut.uca.fr/enzo.jolys/apilol username: from_secret: SECRET_REGISTRY_USERNAME password: @@ -43,13 +44,13 @@ steps: - tests when: branch: - - main + - master - name: deploy-container image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dockerproxy-clientdrone:latest environment: - IMAGENAME: hub.codefirst.iut.uca.fr/enzo.jolys/Api-LOL:latest - CONTAINERNAME: Api-LOL + IMAGENAME: hub.codefirst.iut.uca.fr/enzo.jolys/apilol:latest + CONTAINERNAME: apilol COMMAND: create OVERWRITE: true ADMINS: enzojolys @@ -57,7 +58,7 @@ steps: - docker-build-and-push when: branch: - - main + - master volumes: - name: docs