Azure / acr

Azure Container Registry samples, troubleshooting tips and references
https://aka.ms/acr
Other
164 stars 112 forks source link

Unable to update existing encodedtask using "az acr task update -f" command #313

Closed northtyphoon closed 1 year ago

northtyphoon commented 4 years ago

To Reproduce Steps to reproduce the behavior:

  1. az acr task create -r myregistry -n mytask -f acb.yaml -c /dev/null
  2. az acr task update -r myregistgry -n mytask -f acb.yaml

acr task update failed as the following error message:

Cannot determine the build context for the step of the task 'createcontainer2'. Either the context should be a well formed absolute URI or there should be only one source trigger for the task.

Expected behavior The task is updated.

az --version azure-cli 2.0.77

terencet-dev commented 1 year ago

This has been fixed