secure-77 / Perlite

A web-based markdown viewer optimized for Obsidian
https://perlite.secure77.de/
MIT License
967 stars 81 forks source link

Add GitHub workflow to build multiarch docker images #93

Closed knorr3 closed 11 months ago

knorr3 commented 1 year ago

Closes #65 by adding a workflow that automatically builds the docker image for linux/amd64 and linux/arm/v7.

The workflow is based on this blog post: https://dev.to/cloudx/multi-arch-docker-images-the-easy-way-with-github-actions-4k54

You still have to configure DOCKERHUB_USERNAME and DOCKERHUB_TOKEN: https://github.com/secure-77/Perlite/settings/secrets/actions

Also, be careful about who can start workflows in your repository. You may want to restrict who an execute it: https://github.com/secure-77/Perlite/settings/actions