Skip to content
This repository was archived by the owner on May 15, 2025. It is now read-only.

Commit 374e8de

Browse files
committed
warnings
1 parent 0b73692 commit 374e8de

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/scripts/deploy-registry.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,13 @@ for var in "${required_vars[@]}"; do
2323
done
2424

2525
# Trigger a build for dev
26+
# DONT EVER SET ANY FLAGS THAT MIGHT PRINT THE URL, AS IT HAS SECRETS IN IT
2627
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}" \
2728
-H "Content-Type: application/json" \
2829
-d '{}'
2930

3031
# Trigger a build for prod
32+
# DONT EVER SET ANY FLAGS THAT MIGHT PRINT THE URL, AS IT HAS SECRETS IN IT
3133
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}" \
3234
-H "Content-Type: application/json" \
3335
-d '{}'

0 commit comments

Comments
 (0)