-
Notifications
You must be signed in to change notification settings - Fork 650
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
[Bug] Docker latest points to alpha #3322
Comments
Sorry for being harsh, but depending on
…is by many experts considered an anti-pattern. In fact, providing |
A bunch of our pipelines also had issues. We understand the risks with using In addition, gitversion installed on my Mac through homebrew is still pulling 5.11.1. I don't specify to homebrew which version to install. I just expect it to pull the latest release. So dockerhub seems to be the exception to "latest" being an alpha release. For the time being we have changed our pipelines to using the |
The only thing we accomplish by having |
@asbjornu I think we can tag again version |
I agree. Let's just remove |
Ok then, I will remove the |
This is the kind of thing that I always fear as a developer, to report a problem and the solution is worse than never having said anything. I would not recommend going from one extreme to the other. There are plenty of examples of heavily used images that move the latest tag to the most recent stable release. For ones I can find that have alpha-type images, the latest tag has not been pointed to it. That seems to be the common pattern that I have experienced. Are you going to remove all the As a user of this I would prefer to have the choice of what to use and the level of risk I am accepting by making that choice. |
Since major versions indicate breaking changes, I think a moving target such as That is quite different from |
I still think |
Actually I agree with @tdspencer3 that it is a common behavior pointing latest to the version which has been released to manufacturing as a stable version. Everyone who is using latest knows that the usage is on own risk and he or she is aware of breaking changes. @asbjornu: Just wondering why is it not possible to skip the alpha version tagging and only tag the final released one? |
Yes, I agree. |
In that case we can agree on setting |
Thanks all. I just got back from holidays to find this great thread. I like where you all have landed. Just a few notes on how we're doing our own version for your consideration. We label each new stable version with four labels: What does |
With the release of 5.12.0, the |
Hii 👋 I hate to be the bearer of bad news, but this actually broke our pipelines We are also using the Now that the Maybe it is hard to find a general solution for this problem, but at this moment, is it possible to also publish the v6-alpha docker image so that we can use the associated tag temporarily? |
The previous tags for 6-alpha1 are still there https://hub.docker.com/layers/gittools/gitversion/6.0.0-alpha.1/images/sha256-6291d5e167a97cee1b5f4c579d6b27138a055da25547170ec486007fa062daf1?context=repo |
Our build scripts were using the
:latest
label in Docker to execute GitVersion with the following commandSomething has changed recently where that command no longer outputs the JSON response, but instead it's printing out the visual tree of the repo. We're hard coding back to 5.11.1 now to fix things, but I figured I'd report this. I don't know what's of more concern, if the default behavior is changing to this tree output, or that the latest is pointing at a pre-release version. Shouldn't it point at the latest stable version?
The text was updated successfully, but these errors were encountered: