* feat: add multiarch docker build support
adds docker build support for the following platforms:
- amd64 (default)
- arm64v8
- armv6
- armv7
also adds GOOS and GOARCH information to the buildString
utilizes docker manifest to store image architecture metadata
* chore: update goreleaser action to v4
* chore: update docker login action to v2
* chore: format buildstring
with the new recent changes in dockerhub[1] we should
start pushing images to ghcr, and eventually phase out
the existing dockerhub setup.
[1]: https://blog.alexellis.io/docker-is-deleting-open-source-images/
Signed-off-by: Chinmay D. Pai <chinmay.pai@zerodha.com>
The earlier goreleaser implementation was incorrect where every
build would trigger `make pack-release` with the list of all
cross-platform releases. Fix that to atomically run the packing
once per goreleaser build. In addition, add `make release-dry`
and `make release` for goreleaser.
This PR adds `config-demo.toml` to `Dockerfile` which uses the db host
`demo-db`. This is more suited for demo setups. For normal docker installations
the db host is changed back to `db` which is a better sane default.
Reworded `INSTALL.md` and `README.md` for more clarity on docker
installation and configuration.
- Fix version injection in build
- Refactor Makefile
- Add --new-config flag to generate sample config
- Add license
- Remove autogenerated frontend README
- Refactor make dist to do end-to-end build
- Refactor build and add goreleaser conf