concourse / registry-image-resource

a resource for images in a Docker registry
Apache License 2.0
89 stars 107 forks source link

feat: Add option to perform check step based on a tag regex #344

Closed cdmessin closed 1 year ago

cdmessin commented 1 year ago

Implements https://github.com/concourse/registry-image-resource/issues/294

This PR decouples the idea of all tags being semantic versions.

This implements a new source parameter tag_regex as a new way to monitor an image repository. In addition to being able to monitor a single tag, or semantic version tags, we can now monitor for tags based on the regex provided.

README docs have been updated as well to explain this functionality

xtremerui commented 1 year ago

Thank you for the PR. Could you add test for the function in this file?

cdmessin commented 1 year ago

Absolutely, working on that now and will add that in shortly.

cdmessin commented 1 year ago

Thank you for the PR. Could you add test for the function in this file?

A few unit tests have been added for this new functionality.

exp0nge commented 5 months ago

I've added a feature to work in conjunction with this feature: https://github.com/concourse/registry-image-resource/pull/354