Details
Build docker image and push to docker hub
Diff Detail
- Repository
- rCOMM Comm
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
It's not in the main services' docker-compose.yml but it's completely standalone and doesn't interact with other services, keyserver or app code so I'm on the fence if I should change it.
The dockerfile needs to be built with the context of the root folder (because it's a member of the yarn workspace) and it's on dockerhub so we need to keep track of the current tag/version. To me, it makes sense to keep track of that in a docker-compose.yml.
LGTM
Makes sense to me,
until we decide if we should go with docker-compose or custom make_docker_image.sh scripts, we should support both (or at least one)
As an aside, might be good to configure docker/build-push-actions for automatically pushing to DockerHub: https://github.com/docker/build-push-action
I doubt electron-update-server will change much since it's so simple, but that might make it a good candidate to experiment with since I'm sure it's a lot faster to build than eg keyserver which is 25 min on GH Actions.
Given that the "action" is provided by Docker and that the examples look simple, seems like it might be a 30 min thing?