I recently deployed ODK aggregate v2.0.5 to a server using docker-compose. As part of this I decided to automate the build of a docker image from the github repo via github actions (instead of running build scripts on my own computer or the hosting server first).
The action can be found here:
The corresponding docker file is published here:
Here is an example docker-compose file for a full deployment making use of the image
(note, the db requires access to the initdb folder and script from the main repo, which can be copied from: https://github.com/opendatakit/aggregate/tree/master/docker-compose/initdb)
More work could be done to better tag/version future and past releases, but for now it fits my purposes.