Open matteodri opened 4 years ago
How to integrate with docker hub using fabric8 plugin (hope it's similar to spotify one) http://www.littlebigextra.com/push-docker-images-docker-hub-using-maven/
Or to push directly from CircleCI: https://circleci.com/blog/build-a-ci-powered-restful-api-with-laravel/
Registry could be added to the pom and image pushed with the deploy target Now this is returned on "mvn deploy" [ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy (default-deploy) on project owl-energy-monitor: Deployment failed: repository element was not specified in the POM inside distributionManagement element or in -DaltDeploymentRepository=id::layout::url parameter -> [Help 1]
Another option is to do it with a Github action: https://github.com/marketplace/actions/build-and-push-docker-images
It supports also multiplatform builds, so it could create and push the raspberry image
SAME THING WITH CIRCLECI: https://www.docker.com/blog/multi-arch-build-what-about-circleci/
https://docs.docker.com/docker-hub/
To have the images automatically pushed to a public space. Not sure how important this is. If using docker-compose is enough then that's fine.
Once images are on docker hub we could also have docker run commands for the single services like for prometheus:
or