Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tag globs for checks #337

Open
martinxsliu opened this issue Jul 7, 2021 · 0 comments
Open

Tag globs for checks #337

martinxsliu opened this issue Jul 7, 2021 · 0 comments

Comments

@martinxsliu
Copy link

Hi all! I have a use case where I only want the Docker image resource to pick up new versions if the tag matches some glob pattern. For example, only pick up tags like foo:release-xxx and ignore other tags like foo:dev-xxx. This would be similar to the paths source config for the git resource (see here). Is this a feature that's been discussed earlier?

Looking at the check command, it seems that we're fetching the manifest for the tag to get the tag's latest digest. Implementation wise, in order to support tag globbing I think we'll need to add a call to first fetch all tags for the image, apply the globbing, then fetch the manifest as normal using the latest tag.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant