From b12f6bcddf068312268845e05ba9daf0124785f0 Mon Sep 17 00:00:00 2001 From: "shamrao shinde, sumedh" Date: Wed, 6 Nov 2024 08:16:00 +0000 Subject: [PATCH] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 13523ee..73dcb86 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -26,13 +26,24 @@ steps: docker images displayName: 'List docker images1' - task: Docker@2 + displayName: Build inputs: - command: 'buildAndPush' + command: build containerRegistry: $(dockerRegistryServiceConnection) repository: '$(imageName)' tags: '$(shortCommitSha)' Dockerfile: 'Dockerfile' arguments: '--build-arg VITE_BACKEND_URL=http://olympus-api-gateway-aks.olympusai.live/apollo' + +- task: Docker@2 + displayName: Push + inputs: + command: push + containerRegistry: $(dockerRegistryServiceConnection) + repository: '$(imageName)' + tags: '$(shortCommitSha)' + arguments: '--build-arg VITE_BACKEND_URL=http://olympus-api-gateway-aks.olympusai.live/apollo' + - script: | echo "Listing the docker images..." docker images