Skip to content

Improve variable interpolation, required flag and default value. #2441

@aramalipoor

Description

@aramalipoor

As first proposed in #1377 I think it would be very useful to have a way to set a variable as required, and also set some default value.

web:
   image: org/app:${VERSION?} # Required

Or

web:
   image: org/app:${VERSION:latest} # Default Value

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions