Azure-Samples / Azure-Samples/container-apps-connect-multiple-apps

Error re-deploying new version

Open
#6 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Bicep
Stars
49
Forks
33
PR merge metrics
No merged PRs in 30d

Description

> Please provide us with the following information:
> ---------------------------------------------------------------

### This issue is for a: (mark with an `x`)
```
- [x] bug report
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)
```

### Minimal steps to reproduce
- Fork repo
- Set environment variables
- Submit build-and-deploy.yaml action
>

### Any log messages given by the failure
ERROR: ***"code": "InvalidTemplateDeployment", "message": "The template deployment 'main' is not valid according to the validation procedure. The tracking id is '3c971[44](https://github.com/jimlane/container-apps-store-api-microservice/runs/7752217083?check_suite_focus=true#step:4:45)a-8bd4-4a65-97[45](https://github.com/jimlane/container-apps-store-api-microservice/runs/7752217083?check_suite_focus=true#step:4:46)-0414da0a33e2'. See inner errors for details."***

Inner Errors:
***"code": "ValidationForMultipleResourcesFailed", "message": "Validation failed for multiple resources. Check 'Error.Details[]' for more information."***

Inner Errors:
***"code": "ContainerAppImageRequired", "message": "Container with name 'python-app' must have an 'Image' property specified."***

Inner Errors:
***"code": "ContainerAppImageRequired", "message": "Container with name 'go-app' must have an 'Image' property specified."***

Inner Errors:
***"code": "ContainerAppImageRequired", "message": "Container with name 'node-app' must have an 'Image' property specified."***
Error: Error: az cli script failed.

### Expected/desired behavior
> Deploy succeeded

### OS and Version?
> Ubuntu 20.04.4
> runner version: 2.294.0

### Mention any other details that might be useful
Builds work fine, but the deploy action indicates that the bicep is attempting to create a container app without supplying an image name :-(

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.