image: mcr.microsoft.com/dotnet/core/sdk:3.0

before_script:
    - dotnet restore
 
build:
    stage: build
    tags:
        - docker
    script:
        - dotnet build -c Release --no-restore
        - dotnet publish -c Release --no-restore -o $CI_PROJECT_DIR/build/release
    artifacts:
        paths:
            - $CI_PROJECT_DIR/build/release
   
#test:
#    stage: test
#    script:
#        - dotnet test --no-restore