container-apps-connect-multiple-apps icon indicating copy to clipboard operation
container-apps-connect-multiple-apps copied to clipboard

Error re-deploying new version

Open jimlane opened this issue 3 years ago • 0 comments

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 '3c97144a-8bd4-4a65-9745-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 :-(

jimlane avatar Aug 09 '22 18:08 jimlane