From code to production: A guide to continuous deployment with GitLab
Jan 28, 2025Benjamin Skierlak
Summary
This post details implementing continuous deployment with GitLab, focusing on artifact management strategies (versioning, retention, registry access), environment strategy, and deployment targets. It provides a step-by-step example for containerizing a simple HTML application, setting up a CI/CD pipeline with Docker, publishing to the GitLab Container Registry, and deploying to a virtual machine using SSH authentication. The pipeline includes stages for publishing, staging, and production deployments, with environment configuration for tracking.