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:
Give you a basic introduction to Github Actions.
Show you how to make an action that builds our docker image.
Show you how to push a docker image to our Github repository.
Before we start, we need a repository with a working Dockerfile (since we assume that you have a…