You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now the Docker images are only available via the latest and the specific version tags. It would be helpful to be able to only define axllent/mailpit:v1.5 which would pull the latest version of the 1.5 branch. That would be 1.5.4 at the moment.
Thanks for the suggestion, this is a good idea. I think that the docker/metadata-action is probably an overkill as it is designed to also push images (I just need to work out that the major.minor version is), so I'm going to try another simpler action first. Assuming this works (you never know until you try), the next release should include a mailpit:v1.5 tag 👍 I will leave this open until the next release (which are fairly regular).
Sounds good! I don't think it will be push stuff as it only provides an output for the metadata which can be used by the push action. The readme has a good example for this.
I've tested this on a separate testing repo and the action I am using to detect the major/minor version is working as expected. Given there are no current changes it may be a while before another release, so in the interim I have manually pushed a v1.5 tag (identical currently to v1.5.4) so you can start using that already if you like. When newer v1.5.* releases are created, the v1.5 tag will be updated, then v.16 will get added and updated etc when the release tags reach v1.6.* etc.
I'll close this ticket as it is effectively done now (just waiting for more releases). Thanks again for the suggestion.
Right now the Docker images are only available via the
latest
and the specific version tags. It would be helpful to be able to only defineaxllent/mailpit:v1.5
which would pull the latest version of the1.5
branch. That would be1.5.4
at the moment.It seems like this only needs a change to
mailpit/.github/workflows/build-docker.yml
Line 34 in 8e84b96
Maybe the docker/metadata-action action will be useful: https://github.com/docker/metadata-action#typesemver
The text was updated successfully, but these errors were encountered: