image: mcr.microsoft.com/dotnet/sdk:5.0 stages: - test - release variables: DOCKER_TLS_CERTDIR: "/certs" DOCKER_CERT_PATH: "/certs/client" DOCKER_TLS_VERIFY: 0 DOCKER_HOST: 'tcp://docker:2375' test: stage: test services: - docker:dind variables: PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/docker script: - curl https://download.docker.com/linux/static/stable/x86_64/docker-20.10.4.tgz | tar -xzv -C /usr/local/ - dotnet tool restore - dotnet nuke Test protobuf-lint: stage: test image: name: docker.io/bufbuild/buf:latest entrypoint: [""] script: - cd api/ - buf ls-files - buf lint nuget-publish: stage: release only: refs: - tags script: - dotnet tool restore - dotnet nuke NuGetPush