gessnerfl / fake-smtp-server

A simple SMTP Server for Testing purposes. Emails are stored in an in-memory database and rendered in a Web UI
Apache License 2.0
432 stars 90 forks source link

Question: how is built the gessnerfl/fake-smtp-server image on Docker Hub? #421

Closed mxmlnglt closed 7 months ago

mxmlnglt commented 7 months ago

Hi,

All the code seems open-source and available at https://github.com/gessnerfl/fake-smtp-server but I can't find/understand how/where is built the image we can find on Docker Hub. Can you make it more explicit please?

Thank you.

etidahouse commented 7 months ago

The container is released on the CI via github actions :

https://github.com/gessnerfl/fake-smtp-server/blob/5c56e1a5be547c0d7a9c11e8b89233019c16c7e9/.github/workflows/release.yml#L77

And CI launches gradlew : https://github.com/gessnerfl/fake-smtp-server/blob/5c56e1a5be547c0d7a9c11e8b89233019c16c7e9/build.gradle#L156

gessnerfl commented 7 months ago

Exactly, fake-smtp-server is using Jib (https://github.com/GoogleContainerTools/jib) to build and push the docker images.

mxmlnglt commented 7 months ago

OK, thanks for the details; I'm not keen on Gradle so didn't think it would be part of the build file.