2023 Deploy Next.js to Google Cloud Run from Gitlab (Using Gitlab, Cloud Build, Secret Manager)

andyyou
Jan 16, 2023

The core concept in this post is guide you deploy Next.js to Google Cloud Run, and for the CI we will use Gitlab CI. Depends on different services like Cloud Build or build Docker Image on Gitlab there are two sections:

  1. Build Docker image on Gitlab, push to Gitlab registry and deploy to Cloud Run.
  2. Using Gitlab CI with Cloud Build to complete deployment.

More…

--

--