Azure / Azure/container-apps-deploy-pipelines-task
imageToBuild seems to be ignored
- Dominant language
- TypeScript
- Stars
- 6
- Forks
- 15
- PR merge metrics
- No merged PRs in 30d
Description
Hi all,
In the build phase i keep getting the following message and the default image name is being used:
```
No imageToBuild argument was provided; setting the image to be built to '***.azurecr.io/ado-task/container-app:43.20240409.12'.
No imageToDeploy argument was provided; setting the image to deploy to '***.azurecr.io/ado-task/container-app:43.20240409.12'.
```
imageToBuild is being used in the pipeline config, but it doesnt like it's being picked up:
```typescript
trigger:
- master
pool:
vmImage: ubuntu-latest
steps:
- task: AzureContainerAppsRC@1
displayName: Build and deploy Container App
inputs:
connectedServiceNameARM: 'arm-service-connection-dev'
acrName: 'xxx'
dockerfilePath: 'xxx.Test.Api/Dockerfile'
imageToBuild:: 'xxx.azurecr.io/xxx.test.api:234'
acrUsername: $(ACR_USERNAME_SECRET)
acrPassword: $(ACR_PASSWORD_SECRET)
appSourcePath: '$(System.DefaultWorkingDirectory)'
resourceGroup: 'rg-aca-dev-001'
containerAppEnvironment: 'xxx'
```
Tagging @harryli0108
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.