A simple example of a Maven project built on GitHub Actions (on Linux, macOS and Windows) dockerizing a Java application
An example of Chapter Docker of the book
Test-Driven Development, Build Automation, Continuous Integration (with Java, Eclipse and friends) by Lorenzo Bettini.
See https://github.com/LorenzoBettini/tdd-buildautomation-ci-book-examples for the list of all the examples.