From 37fee2121cba05b640694cdcb09c4fb4bf4dcc42 Mon Sep 17 00:00:00 2001 From: Santhosh Nair <913441@dadeschools.net> Date: Tue, 12 Sep 2023 03:24:41 +0000 Subject: [PATCH] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 9bcf090..ffc44ef 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -26,6 +26,9 @@ jobs: addToPath: true - script: | + # Log in to Docker Hub using secrets + docker login -u $(DOCKERHUB_USERNAME_SECRET) -p $(DOCKERHUB_PASSWORD_SECRET) + # Build and push the answers-api Docker image docker build -t $(DOCKER_IMAGE_ANSWERS) ./DamageAssesment.Api.Answers docker push $(DOCKER_IMAGE_ANSWERS)