Azure / Azure/container-apps-deploy-pipelines-task
Unable to deploy to Container Apps
- Dominant language
- TypeScript
- Stars
- 6
- Forks
- 15
- PR merge metrics
- No merged PRs in 30d
Description
I am trying to deploy an image from DockerHub. Is this supported? I am getting the same error that others are having. I created a service connection to it and can push an image, but I run into problems when I try to deploy a new container version. I have connections to ARM and Dockerhub set up and verified.
```
ERROR: (InvalidParameterValueInContainerTemplate) The following field(s) are either invalid or missing. Field 'template.containers.album-backend-api.image' is invalid with details: 'Invalid value: "adamcodes716/album-backend-api:13": GET https:: UNAUTHORIZED: authentication required; [map[Action:pull Class: Name:adamcodes716/album-backend-api Type:repository]]';.
##[error]Error: Unable to update Azure Container App via 'az containerapp update' command.
##[debug]Processed: ##vso[task.issue type=error;]Error: Unable to update Azure Container App via 'az containerapp update' command.
```
```
- stage: Deploy
displayName: Deploy to Container Apps
jobs:
- job: Deploy
displayName: Deploy
pool:
vmImage: ubuntu-latest
steps:
- task: AzureContainerApps@1
displayName: Deploy new container version
inputs:
azureSubscription: 'azure-connection'
imageToDeploy: '$(IMAGE_NAME):$(TAG)'
containerAppName: '$(CONTAINERAPPS_APP)'
resourceGroup: '$(RESOURCE_GROUP)'
containerAppEnvironment: '$(CONTAINERAPPS_ENVIRONMENT)'
targetPort: '3500'
ingress: 'external'
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.