-
Notifications
You must be signed in to change notification settings - Fork 151
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
Create releases/tags for Docker Images #54
Comments
Hello @mgreau , thanks for putting this together! I personally vote for a mix of 1 and 2:
By the way, I still love your 2) proposal:
Why not a mix of those? |
Well, if we plan to separate the "rest of the ecosystem 2nd" and create a separate image with only asciidoctor, I would say ok :) But I agree that it's easy for users to have the same version for the asciidoctor version and the Docker image version.
+1 (even if we may have to do it manually in a first step) |
As a side note, if you have an automated build, and the execution is triggered for the tags, you don't need to manually go and create the tags. The dockerhub will get notified through its hooks from github and the build and tag will be triggered automatically. You just need to push your git tags, and dockerhub will pick them up and use them for the tag. |
@dduportal I think it might be better to do a subsequent PR so that other contributors can see both solutions. |
👍 |
Given the direction the Asciidoctor community is about to take with regards to versions, I strongly recommend either aligning exactly with the Asciidoctor core version or introducing your own versioning scheme. Since the container provides more than just Asciidoctor core, I don't see a strong case for using the version number of core. You might just be better off following your own semantic versioning series. |
After recent bumping of asciidoctor to 2.x, and some issues when rebuilding (see #92 for example),
Advises @cexbrayat @mojavelinux @mgreau? Would it solve your use cases? |
I like it 👍 |
I like it too. I think it solves the problem of how much to put in the image. On the one hand, you have a nice base image for anyone to extend. On the other hand, it just has the whole toolchain, and that's great for trying out the ecosystem or just using all of it. |
Yes, please. Using It would be nice to have a tagged release sooner rather than later. IMHO this GitHub issue is too large in scope. It covers both tags and base+fat images. What do you think about focusing on tags first? What do you think about creating a tag today using https://calver.org/ E.g. Thank you for your ear and for great software. |
I'm definitely in favor of tags. And those tags should follow semantic versioning. Since the image has a bunch of different software, I wouldn't try to line the numbers up with any of the software included. Just start with 1.0.0. |
Fair! Let's fo for the proposal formulated earlier in this topic, combined with #79:
at first step, WDYT? (next step would be creating |
Sounds great to me! |
I noticed |
I'm really looking forward to this, to have consistent results among my organization. Thank you for everything 😄 |
Thanks for the heads up @bcouetil ! As a short term solution (while this item is worked on) do not hesitate to use Docker image's digests so you're sure the behavior is fixed (and no Man in the middle attack can be done on your docker image content :) ). |
This was an experiment, upcoming work on it is coming: wait for this issue to be updated |
First release |
You rock, many thanks 😆 |
As explained in the Docker development best practices documentation:
We need to create git tags and docker tags for each new version (as we do for others projects):
master
branch will always be built aslatest
tagTag/version
We need to decide how to tag this project.
IMO the most important thing is to be able to quickly know the
asciidoctor
versions included in the docker image.We can either:
asciidoctor
version (examples:1.5.6.1-1.0.0
or1.0.0-1.5.6.1
)docker-asciidoctor
version in the tag (example:1.0.0
) AND addLABEL
in theDockerfile
to add metatada about theasciidoctor
projects versions:docker inspect
commandI vote for the solution 2) because it will be easy for the users to pull the right Docker Image version (
docker pull asciidoctor/docker-asciidoctor:1.0.0
) and to know the exactasciidoctor
versions included.Note: I'm ok to do the manual steps when we need to perform a release (we can think about automating it later)
The text was updated successfully, but these errors were encountered: