With Github Actions’ arrival in 2018, more and more projects adopt it as a full-blown CI/CD solution for their projects. This article will see how we can leverage Github Actions to build and publish a Docker Image to Github Container registry or your private Registry.
In this article, I will:
Before we start, we need a repository with a working Dockerfile (since we assume that you have a working Dockerfile). If you don’t have that, I have created a reference and published it to Github that you are free to copy or fork at andersro93/docker-static-demo. …