concourse / registry-image-resource

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

Allow arbitrary text with variants? #273

Open akshaymankar opened 3 years ago

akshaymankar commented 3 years ago

For legacy reasons, my usecase requires looking at images with <semver>-<some-digest>-v<another-semver>-<variant> and triggering some workflow based on that. I was hoping I could use this resource to detect an push to such an image and trigger my workflow. But it seems like the resource insists on strictly having a semver in front of the variant.

I see that there was a suggestion here https://github.com/concourse/registry-image-resource/issues/151#issuecomment-635509282 to add tagging_scheme to the source. Would it be acceptable to implement this and optionally allow arbitrary text as a taging-scheme?