Skip to content

Dashes in variable names <=> environment: block #663

@simonhammes

Description

@simonhammes

Dashes can be used in variable names (#336).

However, I'm unable to use a variable that contains dashes in an environment: block since compose interprets the dash as a separator between the variable name and its default value:

environment:
  VAR-WITH-DASHES: ${VAR-WITH-DASHES}

Is there any way to escape the dash or is this a bug/unimplemented functionality?

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