From d153cfa4d63339f32df90bf41e6e055ad5a095b1 Mon Sep 17 00:00:00 2001 From: Garrett Delfosse Date: Wed, 2 Jul 2025 10:25:37 -0400 Subject: [PATCH] fix: disable production deployments from main Reverts https://github.com/coder/registry/pull/168 which should not have been merged, and disables production deployments for now until a fix is in place on the registry-server side. --- .github/workflows/deploy-registry.yaml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/deploy-registry.yaml b/.github/workflows/deploy-registry.yaml index ec51f39e6..112c9f5cd 100644 --- a/.github/workflows/deploy-registry.yaml +++ b/.github/workflows/deploy-registry.yaml @@ -26,8 +26,10 @@ jobs: service_account: registry-v2-github@coder-registry-1.iam.gserviceaccount.com - name: Set up Google Cloud SDK uses: google-github-actions/setup-gcloud@77e7a554d41e2ee56fc945c52dfd3f33d12def9a - # - name: Deploy to dev.registry.coder.com - # run: gcloud builds triggers run 29818181-126d-4f8a-a937-f228b27d3d34 --branch dev - - name: Deploy to registry.coder.com - run: | - gcloud builds triggers run 106610ff-41fb-4bd0-90a2-7643583fb9c0 --branch main + - name: Deploy to dev.registry.coder.com + run: gcloud builds triggers run 29818181-126d-4f8a-a937-f228b27d3d34 --branch main + # garrett!: We don't have a good way to target this right now, so I'm commenting it out + # so we don't accidently deploy to production. + # - name: Deploy to registry.coder.com + # run: | + # gcloud builds triggers run 106610ff-41fb-4bd0-90a2-7643583fb9c0 --branch main