Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
SharonHart committed Nov 14, 2024
1 parent d9375ea commit f55b434
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
11 changes: 6 additions & 5 deletions .pipelines/templates/build-and-push-containers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,16 @@ steps:
TAG=${{ parameters.TAG }}
projectName: 'microsoft_presidio'

- task: DockerCompose@1
- task: DockerCompose@0
displayName: Push Presidio Images to ACR
inputs:
action: 'Push services'
action: Push services
dockerComposeFile: ${{ parameters.DOCKER_COMPOSE_FILE }}
containerregistrytype: 'Azure Container Registry'
containerregistrytype: Azure Container Registry
azureContainerRegistry: ${{ parameters.REGISTRY_NAME }}
azureSubscriptionEndpoint: presidio
azureSubscriptionEndpoint: ${{ parameters.AZURE_SUBSCRIPTION }}
projectName: 'microsoft_presidio'
dockerComposeFileArgs: |
REGISTRY_NAME=
REGISTRY_NAME=${{ parameters.REGISTRY_NAME }}
IMAGE_PREFIX=${{ parameters.IMAGE_PREFIX }}
TAG=${{ parameters.TAG }}
8 changes: 4 additions & 4 deletions azure-pipelines-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,16 +39,16 @@ stages:
REGISTRY_NAME: '$(ACR_REGISTRY_NAME).azurecr.io'
TAG: ':$(Build.BuildId)'
steps:
- task: DockerCompose@1
- task: DockerCompose@0
displayName: Pull Presidio Images from ACR
inputs:
action: Run a Docker Compose command
projectName: 'microsoft_presidio'
dockerComposeCommand: pull
dockerComposeFile: docker-compose.yml
containerregistrytype: 'Azure Container Registry'
azureSubscriptionEndpoint: 'bcb257e6-1ea3-45cd-9a11-a4e26dcff645'
azureContainerRegistry: $(REGISTRY_NAME)
containerregistrytype: Azure Container Registry
azureSubscriptionEndpoint: $(ACR_AZURE_SUBSCRIPTION)
azureContainerRegistry: '$(ACR_REGISTRY_NAME).azurecr.io'
dockerComposeFileArgs: |
REGISTRY_NAME=$(REGISTRY_NAME)
TAG=$(TAG)
Expand Down

0 comments on commit f55b434

Please sign in to comment.