Update azure-pipelines.yml for Azure Pipelines
This commit is contained in:
parent
7365fb08d3
commit
37fee2121c
@ -26,6 +26,9 @@ jobs:
|
|||||||
addToPath: true
|
addToPath: true
|
||||||
|
|
||||||
- script: |
|
- 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
|
# Build and push the answers-api Docker image
|
||||||
docker build -t $(DOCKER_IMAGE_ANSWERS) ./DamageAssesment.Api.Answers
|
docker build -t $(DOCKER_IMAGE_ANSWERS) ./DamageAssesment.Api.Answers
|
||||||
docker push $(DOCKER_IMAGE_ANSWERS)
|
docker push $(DOCKER_IMAGE_ANSWERS)
|
||||||
|
Loading…
Reference in New Issue
Block a user