Skip to content

Add option to lookup image version for tags with latest #37

@rgstephens

Description

@rgstephens

For updates to images with latest tag, it would be nice to find the version number associate with this image.

If the findVersion option is specified, search recent images that have the same digest value and report the associated image tag. For example, if there's a digest value identical to latest with the tag 3.2.0, the message would report that 3.2.0 was updated instead of latest.

Along with this would be a versionMatch option. If this option is specified, then the update will only be reported if there's tag matches that pattern. In the example below, a tag off 3.2.0-beta would not match and as a result the notification would not be sent.

    "notifyServices": [
        {
            "image": "rasa/rasa:latest",
            "findVersion": true,
            "versionMatch": "^\\d{1,2}\\.\\d{1,2}\\.\\d{1,3}$",
             ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions