A guide on how to build and push Docker images programmatically using Go.
There are 2 pre-requisites:
- Building an image from local source code
- Pushing an image to a remote registry
You can go through the official Docker Go SDK to start with, along with that you can also go through this tutorial: https://www.loginradius.com/blog/async/build-push-docker-images-golang/