Mailhog Docker/OCI image, regularly rebuilt and shipped in a scratch container, to minimize CVEs.
See mailhog's README for more details.
docker run --rm -d -p 1025:1025 -p 8025:8025 ghcr.io/cloudogu/mailhog
You can send mails via SMTP to localhost:1025 and see mailhogs web UI via localhost:8025
To build and push a fresh image basing on the latest versions of Go and MailHog, just run GH action. This sets three tags
latest
- MailHog's latest tag, e.g.
v1.0.1
- MailHog's latest tag + time stamp, e.g.
v1.0.1-2023-10-25
, which is "immutable".