How to Build a Docker Image and Push it to the GitLab Container Registry from a GitLab CI pipeline
While Dockerhub is a public registry that is essentially used by everyone, you don’t always need to use it. You can build your own Docker images and publish them in the GitLab Container Registry, which can act as a private registry.
Maybe you are wondering if there is a way to store Docker images at GitLab and use…