From b596e860fbad7999c2fc48b662a44b03b5017623 Mon Sep 17 00:00:00 2001 From: Louis DUFOUR Date: Mon, 13 Mar 2023 13:27:12 +0100 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20'.drone.yml'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .drone.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/.drone.yml b/.drone.yml index 646bde8..8089210 100644 --- a/.drone.yml +++ b/.drone.yml @@ -64,6 +64,27 @@ steps: - master depends_on: [ build ] + # docker image build + - name: docker-build-and-push + image: plugins/docker + settings: + dockerfile: Sources/APILOL/Dockerfile + context: Sources/ + registry: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dronesonarplugin-dotnet6 + repo: hub.codefirst.iut.uca.fr/louis.dufour/EntityFramework + username: + from_secret: SECRET_REGISTRY_USERNAME + password: + from_secret: SECRET_REGISTRY_PASSWORD + # container deployment + - name: deploy-container + image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dockerproxy-clientdrone:latest + environment: + IMAGENAME: hub.codefirst.iut.uca.fr/louis.dufour/EntityFramework:latest + CONTAINERNAME: containerlol + COMMAND: create + OVERWRITE: true + volumes: - name: docs temp: {} \ No newline at end of file