diff --git a/eng/pipelines/templates/stages/cleanup-acr-images.yml b/eng/pipelines/templates/stages/cleanup-acr-images.yml index eb2034e79..4260a8d35 100644 --- a/eng/pipelines/templates/stages/cleanup-acr-images.yml +++ b/eng/pipelines/templates/stages/cleanup-acr-images.yml @@ -27,6 +27,9 @@ stages: - template: /eng/docker-tools/templates/steps/reference-service-connections.yml@self parameters: publishConfig: ${{ parameters.publishConfig }} + usesRegistries: + - ${{ parameters.publishConfig.BuildRegistry.server }} + - ${{ parameters.publishConfig.PublishRegistry.server }} serviceConnections: - ${{ parameters.publishConfig.cleanServiceConnection }} - template: /eng/docker-tools/templates/steps/clean-acr-images.yml@self