diff --git a/.drone.yml b/.drone.yml index 1c1c7ab..a5e7d40 100644 --- a/.drone.yml +++ b/.drone.yml @@ -16,7 +16,20 @@ steps: - cd Sources/ - dotnet restore LeagueOfLegends.sln - dotnet build LeagueOfLegends.sln -c Release --no-restore - - dotnet publish LeagueOfLegends.sln -c Release --no-restore -o CI_PROJECT_DIR/build/release + - 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/bastien.ollier/LOL + + username: + from_secret: SECRET_REGISTRY_USERNAME + password: + from_secret: SECRET_REGISTRY_PASSWORD - name: tests image: mcr.microsoft.com/dotnet/sdk:6.0