
11/10/2025 · Regnard Raquedan
What this post added
This post details the integration of GitLab CI/CD with Google Cloud's GKE for secure deployment of AI agents. It outlines the steps for configuring IAM and Artifact Registry integrations within GitLab, and provides a complete `.gitlab-ci.yml` file that includes stages for building Docker images, running security scans (dependency, container, secret detection), uploading to Google Artifact Registry, and deploying to GKE using Kubernetes manifests. It also includes a bash script for setting up the necessary GCP Service Account, IAM roles, and Kubernetes Service Account with Workload Identity Federation for secure access to Vertex AI.