Now building an image is part of our CI pipeline for main and pull requests.
The package is published to the GitHub Container Registry so that we can easily access the image during the deployment pipeline.
Note that the deployment pipeline is missing here which makes the PR not that useful right now, but once we start deploying from a CD pipeline, this all starts making a lot of sense and would allow us to deploy as easily as scping a single docker-compose.yml to the server and then executing an Ansible action.
I also updated the way how to pass the parameters to the image (regular environment variable as it's the most common practice that is portable and compatible with k8s).
Now building an image is part of our CI pipeline for
main
and pull requests.The package is published to the GitHub Container Registry so that we can easily access the image during the deployment pipeline.
Note that the deployment pipeline is missing here which makes the PR not that useful right now, but once we start deploying from a CD pipeline, this all starts making a lot of sense and would allow us to deploy as easily as
scp
ing a singledocker-compose.yml
to the server and then executing an Ansible action.I also updated the way how to pass the parameters to the image (regular environment variable as it's the most common practice that is portable and compatible with k8s).
Resolves https://github.com/matrix-org/waterfall/issues/36.