Skip to content

Error re-deploying new version #6

Open
@jimlane

Description

@jimlane

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 :-(

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions