We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 90555b3 commit 8adf704Copy full SHA for 8adf704
build-and-deploy.sh
@@ -2,15 +2,11 @@
2
set -e
3
4
PROJECT_ID="ai-credit-product"
5
-SERVICE_NAME="naqa-api"
6
-REGION="us-central1"
7
-IMAGE_NAME="gcr.io/$PROJECT_ID/$SERVICE_NAME"
8
9
-echo "🚀 Building and deploying $SERVICE_NAME..."
10
-
11
-docker build -t $IMAGE_NAME:latest .
12
-docker push $IMAGE_NAME:latest
+echo "🚀 Building with Cloud Build..."
+gcloud builds submit --config cloudbuild.yaml --project $PROJECT_ID
13
+echo "🚀 Deploying with Terraform..."
14
cd terraform
15
terraform init
16
terraform apply -auto-approve
0 commit comments