'Unable to create ACR container resource trigger
Having trouble setting up a pipeline that is triggered by pushing an image to an ACR repository. No matter how i try to define a trigger i always get the error:
Configuring the trigger failed, edit and save the pipeline again
As far as i can tell there's no more details as to what the problem is. Saving without a trigger entry seams fine.
Here's my pipeline:
trigger:
- none
resources:
containers:
- container: 'MyContainer'
type: ACR
azureSubscription: 'My-ServicePrincipal'
resourceGroup: 'My-App-Development'
registry: 'myappregistry.azurecr.io'
repository: 'myrepository'
image: 'myrepository'
trigger:
enabled: true
tags:
include:
- latest
pool:
vmImage: ubuntu-latest
steps:
- script: echo Hello, world!
displayName: 'Run a one-line script'
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
