To complete this exercise setup the following steps have been taken:
- Initialize a repository and set up a remote on GitHub
- Create the
Dockerfile
- Create the
workflow.yml
in a new.github/workflow
folder - Set the right GitHub secrets for the
DOCKER_USERNAME
andDOCKER_PASSWORD
values - Push to your remote GitHub and observe the workflow
- Create the
docker-compose.yml
file (of course with your own Docker Hub account name to get the container from) and test the deployment by visitinglocalhost:8080
after thedocker compose up
command - Create the
DishTest
test file in thesrc/test/fact/it/examplemvc
folder - See if the additional test runs in the workflow after a push