Previously in #26 I overlooked the fact that although pushing the images to Dockerhub and ghcr.io jobs depends on successful build, the jobs were lacking the git checkout step, so the jobs were unable to find the dockerfiles. In this iteration, I removed pushing the images as jobs. Instead, I incorporate them as steps depending on the push events. This would avoid running two additional runners, checking out the repo, and building images twice.
Previously in #26 I overlooked the fact that although pushing the images to Dockerhub and ghcr.io jobs depends on successful build, the jobs were lacking the git checkout step, so the jobs were unable to find the dockerfiles. In this iteration, I removed pushing the images as jobs. Instead, I incorporate them as steps depending on the push events. This would avoid running two additional runners, checking out the repo, and building images twice.