Is your feature request related to a problem? Please describe.
I think it will be a good idea to define rules to know which version of new image use to update one or all containers.
Examples: You want to keep up to date your container only with the version 1.3. *.
That will exclude the 1.4. * and more, but will include 1.3.2.
Maybe use a version naming convention like NPM our other package manager.
Describe the solution you'd like
I think, use a label in the targeted container will be the perfect solution.
yml
labels:
com.centurylinklabs.watchtower.target-version: "1.3.β
Hi there!
Thanks a bunch for opening your first issue! :pray: As you're new to this repo, we'd like to suggest that you read our code of conduct
Thank you for your request! Currently, watchtower only looks at hash changes for the label you've started the container with. Feel free to submit a PR implementing the functionality you're suggesting. I'd be happy to review it and guide you towards getting it integrated. Thanks! π
I never developed with Go. I don't have any idea how to do what's I would like.
But, it can be a good opportunity to do it...
Thanks for your answer. If any other users would like to participate in this feature, you will become my hero :D
@JAGFx check https://medium.com/@mccode/using-semantic-versioning-for-docker-image-tags-dfde8be06699
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I'm interested in a similar idea, to allow me to separate stable and beta image tags. Was thinking about some sort of regex pattern?
Would also lay the groundwork for matching on other criteria, eg semver, as mentioned above (Or, you could just use regex as a close-enough alternative).
Any pointers as to where I should start looking? Intend to give this a look over the weekend, if time permits.
Hi,
I'm also running semver versions and because I've found no solution so far (neither watchtower nor ouroboros) to be notified as soon as a new _semver_ version is available, I came to code my own solution:
What's up Docker?
I'm relying on the Docker registry API to look for new versions
(semver if possible, regex fine tuning...).
You can give it a try if you're interested... Feedback and contributions are welcome!
Please note that this tool is intended to trigger notifications only (no container automatic updates).
That's awesome, @fmartinou! ππΌππΌππΌ
Thanks for your interest @simskij ! π
Closing due to lack of activity.
To avoid important communication to get lost in a closed issues no one monitors, I'll go ahead and lock this issue. If you want to continue the discussion, please open a new issue. Thank you! ππΌ
Most helpful comment
I'm interested in a similar idea, to allow me to separate stable and beta image tags. Was thinking about some sort of regex pattern?
Would also lay the groundwork for matching on other criteria, eg semver, as mentioned above (Or, you could just use regex as a close-enough alternative).
Any pointers as to where I should start looking? Intend to give this a look over the weekend, if time permits.