From 374e8de9bdda9abafcdd2e7016587c762e09f220 Mon Sep 17 00:00:00 2001 From: Benjamin Date: Wed, 11 Dec 2024 16:40:57 -0600 Subject: [PATCH] warnings --- .github/scripts/deploy-registry.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/scripts/deploy-registry.sh b/.github/scripts/deploy-registry.sh index 22c0c4c..f7f8f73 100755 --- a/.github/scripts/deploy-registry.sh +++ b/.github/scripts/deploy-registry.sh @@ -23,11 +23,13 @@ for var in "${required_vars[@]}"; do done # Trigger a build for dev +# DONT EVER SET ANY FLAGS THAT MIGHT PRINT THE URL, AS IT HAS SECRETS IN IT curl -X POST "https://cloudbuild.googleapis.com/v1/projects/coder-registry-1/triggers/http-build-registry-v2-dev:webhook?key=${GCLOUD_API_KEY}&secret=${GCLOUD_DEV_DEPLOY_SECRET}" \ -H "Content-Type: application/json" \ -d '{}' # Trigger a build for prod +# DONT EVER SET ANY FLAGS THAT MIGHT PRINT THE URL, AS IT HAS SECRETS IN IT curl -X POST "https://cloudbuild.googleapis.com/v1/projects/coder-registry-1/triggers/http-build-registry-v2-trigger:webhook?key=${GCLOUD_API_KEY}&secret=${GCLOUD_PROD_DEPLOY_SECRET}" \ -H "Content-Type: application/json" \ -d '{}' \ No newline at end of file