diff --git a/.drone.yml b/.drone.yml index 87f8250..13bef0a 100644 --- a/.drone.yml +++ b/.drone.yml @@ -73,8 +73,19 @@ steps: from_secret: db_password ADMINS: patrickbrugiere, antoinejourdain,luciegoigoux, marcchevaldonne - - - name: deploy-container + - name: docker-build-and-push + image: plugins/docker + settings: + dockerfile: Sources/Dockerfile + context: Sources/ + registry: hub.codefirst.iut.uca.fr + repo: hub.codefirst.iut.uca.fr/my.login/myRepository + 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/my.login/my_repository:latest