Logo Clarence
  • Home
  • About
  • Skills
  • Experiences
  • Education
  • More
    Projects Publications Featured Posts
  • Posts
  • Notes
  • Blog
  • English
    繁體中文 English 日本語
  • Dark Theme
    Light Theme Dark Theme System Theme
Logo
  • Tags
  • Automation
  • Backend
  • CI/CD
  • Cloudflare
  • DevOps
  • Docker
  • GitLab
  • Hosting
  • Infrastructure
  • LLM
  • Monitoring
  • Network
  • Nginx
  • Operations
  • Speech AI
Hero Image
GitLab CI/CD Configuration Guide

In enterprise DevOps work, I build and maintain GitLab CI/CD workflows from code submission to production deployment. This article summarizes the practical configuration patterns I use most often. GitLab CI/CD Foundation GitLab Runner Deployment Self-hosted runners are useful when a team needs controlled network access, private registry connectivity, or predictable runtime behavior. # Install GitLab Runner curl -L "https://packages.gitlab.com/install/repositories/runner/gitlab-runner/script.deb.sh" | sudo bash sudo apt-get install gitlab-runner # Register runner sudo gitlab-runner register \ --url "https://gitlab.company.com/" \ --registration-token "YOUR_TOKEN" \ --executor "docker" \ --docker-image "alpine:latest" \ --description "Production Runner" \ --tag-list "production,docker" For Docker-based builds, the runner configuration needs to match the team’s security and build requirements. Docker-in-Docker is convenient, but it should be used intentionally because privileged mode increases risk.

  • GitLab
  • CI/CD
  • DevOps
  • Docker
  • Automation
Tuesday, January 30, 2024 | 2 minutes Read
Navigation
  • About
  • Skills
  • Experiences
  • Education
  • Projects
  • Publications
  • Featured Posts
  • Blog
Contact me:
  • [email protected]
  • clarencetw
  • Clarence
  • Clarence

Toha Theme Logo Toha
© 2026 Copyright.
Powered by Hugo Logo