diff --git a/.drone.yml b/.drone.yml index c96db9b..dd69926 100644 --- a/.drone.yml +++ b/.drone.yml @@ -6,11 +6,17 @@ trigger: event: - push -# steps: -# - name: build -# image: plugins/docker -# settings: -# sonar_host: -# from_secret: sonar_host -# sonar_token: -# from_secret: sonar_token \ No newline at end of file +steps: +# docker image build + - 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/corentin.richard/EntityFramework_ConsoDeServices_TP + + username: + from_secret: SECRET_REGISTRY_USERNAME + password: + from_secret: SECRET_REGISTRY_PASSWORD \ No newline at end of file