You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
EntityFramework_ConsoDeServ.../.drone.yml

34 lines
753 B

kind: pipeline
type: docker
name: EfCsLoL
trigger:
event:
- push
steps:
# docker image build
- name: docker-build-and-push
image: plugins/docker
settings:
dockerfile: Sources/API_LoL/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
# docker test
- name: tests
image: mcr.microsoft.com/dotnet/sdk:6.0
commands:
- cd Sources/
- dotnet restore LeagueOfLegends.sln
- dotnet test LeagueOfLegends.sln --no-restore
depends_on: [docker-build-and-push]