mautic / docker-mautic

Docker Image for Mautic
https://www.mautic.org
370 stars 278 forks source link

Agree upon the usage of the latest tag #250

Closed mollux closed 8 months ago

mollux commented 8 months ago

There is currently some confusion about the latest tag on Dockerhub.

The main confusion is that https://hub.docker.com/r/mautic/mautic/tags shows the latest as first tag (that's a Dockerhub issue) , and that that tag points to an image with Mautic 2.16.2 (that's our issue).

This was decided when releasing the M4 Docker images, see https://github.com/mautic/docker-mautic/tree/mautic4?tab=readme-ov-file#pulling-mautic-images-from-docker-hub.

While IMO it's not a good practice to depend on the latest tag for multiple reasons (a quick search on docker latest tag should give some pointers), we should ensure that it points to something that we define as latest, or remove it completely.

I would suggest (based on the common practices in other repo's), that we keep the concept of latest tag, and point it to the last stable patch release in the last minor and major release, in the preferred variant of the image, being apache.

Practical example:

any objections against this? I'll tag some people in the comments that I know of are involved in the Docker images, but please give your 2c if you have any

mollux commented 8 months ago

tagging some people for awareness: @luizeof @wget @ilkkao @escopecz @RCheesley @mabumusa1

patrykgruszka commented 8 months ago

Yes, it's confusing with the M2 as latest. Let's address that; your suggestion is a good one.

ilkkao commented 8 months ago

Agreed, normally latest points to the very latest available version of the app. No reason to deviate from that standard I think.

mollux commented 8 months ago

thansk for the feedback, let's proceed.

I'll update the latest tag together with the release of Mautic 5.0.3

mollux commented 8 months ago

hereby the latest tags points to what we agreed upon! https://hub.docker.com/r/mautic/mautic/tags