VSTS泊坞窗撰写任务

我正在尝试使用VSTS和docker-composeconfiguration持续交付,我想将其推送到Azure容器registry。 这是我在VSTS上的构build定义: 在这里输入图像说明

并且在构build结果中收到错误消息:

No such command: docker_compose Commands: build Build or rebuild services bundle Generate a Docker bundle from the Compose file config Validate and view the Compose file create Create services down Stop and remove containers, networks, images, and volumes events Receive real time events from containers exec Execute a command in a running container help Get help on a command 

你知道我该怎么处理?

更新:这是我的docker组成

 version: '3' services: ci-build: image: microsoft/aspnetcore-build:1.0-1.1 volumes: - .:/src working_dir: /src command: /bin/bash -c "dotnet restore ./Travelingowe.sln && dotnet publish ./Travelingowe.sln -c Release -o ./obj/Docker/publish" 

而不是docker-compose up只能用up 。 我自己也有同样的问题。