This repository was archived by the owner on May 15, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +18
-47
lines changed Expand file tree Collapse file tree 3 files changed +18
-47
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 5
5
branches :
6
6
- main
7
7
8
- pull_request :
9
- workflow_dispatch :
10
-
11
8
jobs :
12
9
deploy :
13
10
runs-on : ubuntu-latest
14
11
steps :
15
12
- name : Checkout repository
16
13
uses : actions/checkout@v4
17
14
18
- - name : Run deploy-registry.sh
15
+ - name : Authenticate to Google Cloud
16
+ uses : google-github-actions/auth@6fc4af4b145ae7821d527454aa9bd537d1f2dc5f
17
+ with :
18
+ workload_identity_provider : projects/309789351055/locations/global/workloadIdentityPools/github-actions/providers/github
19
+ service_account :
[email protected]
20
+
21
+ - name : Set up Google Cloud SDK
22
+ uses : google-github-actions/setup-gcloud@6189d56e4096ee891640bb02ac264be376592d6a
23
+
24
+ # For the time being, let's have the first couple merges to main in modules deploy a new version
25
+ # to *dev*. Once we review and make sure everything's working, we can deploy a new version to *main*.
26
+ # Maybe in the future we could automate this based on the result of E2E tests.
27
+ - name : Deploy to dev.registry.coder.com
19
28
run : |
20
- ./.github/scripts/deploy-registry.sh
21
- env :
22
- GCLOUD_API_KEY : ${{ secrets.GCLOUD_API_KEY }}
23
- GCLOUD_PROD_DEPLOY_SECRET : ${{ secrets.GCLOUD_PROD_DEPLOY_SECRET }}
24
- GCLOUD_DEV_DEPLOY_SECRET : ${{ secrets.GCLOUD_DEV_DEPLOY_SECRET }}
29
+ gcloud builds triggers run 29818181-126d-4f8a-a937-f228b27d3d34 --branch dev
25
30
Original file line number Diff line number Diff line change 1
1
.terraform *
2
2
node_modules
3
3
* .tfstate
4
- * .tfstate.lock.info
4
+ * .tfstate.lock.info
5
+
6
+ # Ignore generated credentials from google-github-actions/auth
7
+ gha-creds- * .json
You can’t perform that action at this time.
0 commit comments