Skip to content

Commit

Permalink
Change ACR instance (#1089)
Browse files Browse the repository at this point in the history
* Update build-and-push-containers.yml

* Update build-and-push-containers.yml

* Update build-and-push-containers.yml

* Update azure-pipelines-ci.yml
  • Loading branch information
SharonHart authored Jun 6, 2023
1 parent 9090f93 commit 838d402
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
11 changes: 5 additions & 6 deletions .pipelines/templates/build-and-push-containers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,11 @@ steps:
- task: DockerCompose@0
displayName: Push Presidio Images to ACR
inputs:
action: Push services
dockerComposeFile: ${{ parameters.DOCKER_COMPOSE_FILE }}
containerregistrytype: Azure Container Registry
azureSubscriptionEndpoint: ${{ parameters.AZURE_SUBSCRIPTION }}
azureContainerRegistry: ${{ parameters.REGISTRY_NAME }}
action: 'Push services'
dockerComposeFile: ${{ parameters.DOCKER_COMPOSE_FILE }}
containerregistrytype: 'Container Registry'
dockerRegistryEndpoint: 'presidio-acr'
dockerComposeFileArgs: |
REGISTRY_NAME=${{ parameters.REGISTRY_NAME }}
IMAGE_PREFIX=${{ parameters.IMAGE_PREFIX }}
TAG=${{ parameters.TAG }}
TAG=${{ parameters.TAG }}
5 changes: 2 additions & 3 deletions azure-pipelines-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,8 @@ stages:
action: Run a Docker Compose command
dockerComposeCommand: pull
dockerComposeFile: docker-compose.yml
containerregistrytype: Azure Container Registry
azureSubscriptionEndpoint: $(ACR_AZURE_SUBSCRIPTION)
azureContainerRegistry: '$(ACR_REGISTRY_NAME).azurecr.io'
containerregistrytype: 'Container Registry'
dockerRegistryEndpoint: 'presidio-acr'
dockerComposeFileArgs: |
REGISTRY_NAME=$(REGISTRY_NAME)
TAG=$(TAG)
Expand Down

0 comments on commit 838d402

Please sign in to comment.