Mise à jour de '.drone.yml'
continuous-integration/drone/push Build is failing Details

API2
Bastien OLLIER 2 years ago
parent 50c9a6b30c
commit 7d6bee6a89

@ -16,7 +16,20 @@ steps:
- cd Sources/ - cd Sources/
- dotnet restore LeagueOfLegends.sln - dotnet restore LeagueOfLegends.sln
- dotnet build LeagueOfLegends.sln -c Release --no-restore - 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 - name: tests
image: mcr.microsoft.com/dotnet/sdk:6.0 image: mcr.microsoft.com/dotnet/sdk:6.0

Loading…
Cancel
Save