mataroa-blog / mataroa

Naked blogging platform
https://mataroa.blog
GNU Affero General Public License v3.0
258 stars 22 forks source link

Add docker image publish workflow #58

Open ctkcoding opened 6 months ago

ctkcoding commented 6 months ago

Added a workflow to publish docker images to github and dockerhub using the existing Dockerfile.

sirodoht commented 6 months ago

Hey @ctkcoding! I'm not using Docker and I don't have an account at Docker Hub, so I will postpone exploring this further for the time being as I'm not sure how useful it could be :)

Thanks for suggesting it in any case!

ctkcoding commented 6 months ago

I find it really useful to have a docker artifact to pull instead of source code with extra config re subdomains etc like in the ticket that I raised yesterday, and it will probably need a few extra changes to handle that setup. I will take a look at doing that and cut the Docker Hub flow if you don't have an account and leave the part that auto publishes to github's container registry when you create releases which it looks like you're already doing.