-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
AzureContainerAppsRC@0 0.1.8 appSourcePath is required #17687
Comments
We have the issue that we do not even specify acrName, only imageToDeploy, and still get that error message. The task seems to suddenly "infer" what is to be done by the parameters provided. This is a tiny bit confusing, especially because the task documentation says that "acrName" can be specified for authentication purposes when imageToDeploy is specified. Instead of inferring what to do, the task should have a command parameter that is "publish", "buildAndPush", just like the Docker build task. |
I'm facing the same problem. As can be seen --name undefined and docker login undefined.azurecr.io |
Fixed in the referenced repo: |
Hi there,
I'd like to report what seems to be a bug within the given task.
Type: Bug
Task Name: AzureContainerAppsRC@0 - Azure Container Apps Deploy (Release Candidate)
Issue Description
With the version 0.1.8 we are facing the error when trying to deploy into the container app:
The arguments appSourcePath and acrName must either be provided together or not at all.
This was not the case with version 0.1.7 yesterday.
The condition does not make sense, there is an image provided to the task to be deployed.
The task really should not be concerned about a
appSourcePath
.We've tried to put a random text into the
appSourcePath
property => the same result.Many thanks & Cheers,
Martin
'Hosted Agent'
2023-01-31T09:50:06.4800933Z Agent machine name: 'fv-az457-471'
2023-01-31T09:50:06.4801207Z Current agent version: '2.214.1'
2023-01-31T09:50:06.4840062Z ##[group]Operating System
2023-01-31T09:50:06.4840298Z Ubuntu
2023-01-31T09:50:06.4840528Z 22.04.1
2023-01-31T09:50:06.4840655Z LTS
2023-01-31T09:50:06.4840845Z ##[endgroup]
2023-01-31T09:50:06.4841010Z ##[group]Runner Image
2023-01-31T09:50:06.4841200Z Image: ubuntu-22.04
2023-01-31T09:50:06.4841421Z Version: 20230122.1
The text was updated successfully, but these errors were encountered: