Update azure-pipelines.yml for Azure Pipelines

This commit is contained in:
Santhosh Nair 2023-09-12 03:24:41 +00:00
parent 7365fb08d3
commit 37fee2121c

View File

@ -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)