-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
az acr task error when pulling data from github #20761
Comments
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @toddysm, @luisdlp, @northtyphoon. Issue Details
Describe the bug
Using the command above, I created 2 tasks on the same github private repository with same PAT token.
my token has the below permissions:
Also please note that there is no difference in source code in both #dev and #main branch. Expected behavior Environment summary
Additional context
|
Routing to service team. |
@3rdmillkev Could you try using the latest CLI? Current version is 2.31.0, but the one mentioned is 2.0.62. |
@3rdmillkev There used to be a bug in older CLI versions regarding the branching. So upgrading the CLI might fix the problem for you |
@AntonioVT @rosanch After updating the cli and recreating the build task, it was successful. |
Describe the bug
I used the command below to create 2 acr tasks based on "push to source code" trigger:
Using the command above, I created 2 tasks on the same github private repository with same PAT token.
The problem is, when running the " build-dev" task, it runs without no issues and image is built as expected but when running "build-main" task, it fails with this error:
my token has the below permissions:
Also please note that there is no difference in source code in both #dev and #main branch.
I came to believe that there is a bug in the agent that it cannot download data from source code.
To Reproduce
since we are using private repo, I am not sure how to provide steps to reproduce. support can advise.
Expected behavior
The run should be successful on both "build-main" and "build-dev" task as they are in same repo, using same PAT and even source code is the same in both branches.
Environment summary
Additional context
The text was updated successfully, but these errors were encountered: