3. Build, test and push the container image by workflow on GitHub
Run Java tests in the process of building the container.
Try this!
https://docs.docker.com/language/java/run-tests/
Understand Git remote.
https://www.atlassian.com/git/tutorials/syncing
Run workflow in Github to build, test and push images to Docker Hub.
Try this!