-
Notifications
You must be signed in to change notification settings - Fork 49
Open
Labels
bugSomething isn't workingSomething isn't working
Description
I use a DockerCLI@2 task in my Azure DevOps pipeline (MS Hosted ubuntu-latest), with the following content
- task: AzureCLI@2
displayName: "Annotate image with dummy words"
condition: succeeded() # push ok
inputs:
azureSubscription: $(azureResourceManagerServiceConnection) # Service Connection which uses Azure Resource Manager App with AcrDelete and AcrPull rights over ACR
scriptType: bash
scriptLocation: inlineScript
inlineScript: |
export ACR_EXPERIMENTAL_ANNOTATE=true
az acr annotate \
--registry $(acrName) \
--filter "$(containerName):$(tag)" \
--annotation "vnd.myorganization.image.end-of-life=2026-12-31T00:00:00Z" but I get the error
ERROR: 'annotate' is misspelled or not recognized by the system.
Where is my mistake?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working