kind: pipeline type: docker name: default workspace: path: /build steps: - name: test image: mcr.microsoft.com/dotnet/sdk:5.0.102-ca-patch-buster-slim commands: - dotnet build -c Release - dotnet test -c Release - name: deploy image: mcr.microsoft.com/dotnet/sdk:5.0.102-ca-patch-buster-slim environment: API_KEY: from_secret: API_KEY commands: - dotnet nuget push /build/encompass-cs/bin/Release/EncompassECS.Framework.*.nupkg -s https://api.nuget.org/v3/index.json -k $API_KEY when: ref: - refs/tags/*.*.*