Skip to content

Optional match group with filterTags.pattern #575

@hobbsh

Description

@hobbsh

Hi,

Is it possible to use an optional capture group for a filterTags.pattern?

Something like ^\d+\.\d+\.\d+(-\d+)?$, optionally matching the -0 on 1.0.0-0, which is technically valid semver. We currently have this configured and it seems to be ignoring the capture group, maybe because flux is expecting it to be used with extract?

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