From b6fefd547f9955f0222360b61dd7152d4f6cd4e2 Mon Sep 17 00:00:00 2001 From: "Collin M. Barrett" Date: Mon, 21 Jan 2019 10:17:26 -0600 Subject: [PATCH] use docker-compose --- azure-pipelines.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 9da918328..81a011149 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -10,10 +10,8 @@ variables: steps: - script: | - dotnet build --configuration $(buildConfiguration) - dotnet publish --configuration $(buildConfiguration) --output out - docker build -f Dockerfile -t $(dockerId)/$(imageName) . + docker-compose build docker login -u $(dockerId) -p $pswd - docker push $(dockerId)/$(imageName) + docker-compose push env: pswd: $(dockerPassword)