GitLab CI: Docker Image Build & Push
Build and publish Docker images to a registry using GitLab CI pipeline.
Expected time saved: 4 hours/week
Complexity: Intermediate
Steps:
- 1 - Create .gitlab-ci.yml
- 2 - Log in to registry
- 3 - Build image
- 4 - Push to registry
Example
docker build .