powerman / dockerize

Utility to simplify running applications in docker containers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Question: Tag latest not up to date with last version tag 0.16.0 on Docker Hub

woicha opened this issue · comments

Hello,

first of all thank you all for your work. We are using dockerize for the upcoming release of our examination server in an educational environment.

This issue is opened only because I have a question:
Is there a particular reason why the tag latest on hub.docker.com points to another and two months older image then the last released version tag 0.16.0?
In other words:
Could you please shortly explain your release and tagging policy, especially regarding the latest tag?

Yours sincerely
 woicha [Thomas Walcher]

Thanks for drawing my attention to this issue.

It's not about a "policy", it's probably just some issue with CI/CD pipeline, I'll take a look and fix it.

Personally I prefer to use concrete version and thus I missed this issue with latest tag. This tag is supposed to point to build from latest commit in master branch, which may be newer than latest released version but must not be older than it.

As a quickfix I've manually updated latest to match 0.16.0.

Thank you for your quick answer and fix.

Can the latest build from the master branch be considered stable or is it better for a productive environment to rely on a release like 0.16.0?

Master branch is stable. Any important feature or a fix will be released, so changes in master which wasn't released are usually some chore (dependency/docs/ci updates etc.) or minor code cleanup.

But it's recommended (in general, this isn't specific to dockerize) to always use released version - newer versions may have incompatible changes or slight but surprising behaviour changes, so it's recommended to always test version you use in production and avoid getting surprising updates because of "latest" tag.

Thanks again for your quick answer, the general advice and most of all for maintaining this repo.

I'll close the issue with this reply. Feel free to open it again, if you consider it necessary.