diff --git a/.drone.yml b/.drone.yml index 65b5c79..23f05ca 100644 --- a/.drone.yml +++ b/.drone.yml @@ -18,6 +18,19 @@ steps: - dotnet build LeagueOfLegends.sln -c Release --no-restore - dotnet publish LeagueOfLegends.sln -c Release --no-restore -o CI_PROJECT_DIR/build/release + - name: docker-build-and-push + image: plugins/docker + settings: + dockerfile: Sources/apiLOL/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 + - name: tests image: mcr.microsoft.com/dotnet/sdk:6.0 commands: