File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed
Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change 1+ name : deploy-registry
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ tags :
8+ # Matches release/<namespace>/<resource_name>/<semantic_version>
9+ # (e.g., "release/whizus/exoscale-zone/v1.0.13")
10+ - " release/*/*/v*.*.*"
11+
12+ jobs :
13+ deploy :
14+ runs-on : ubuntu-latest
15+
16+ # Set id-token permission for gcloud
17+ permissions :
18+ contents : read
19+ id-token : write
20+
21+ steps :
22+ - name : Checkout code
23+ uses : actions/checkout@v4
24+ - name : Authenticate with Google Cloud
25+ uses : google-github-actions/auth@71f986410dfbc7added4569d411d040a91dc6935
26+ with :
27+ workload_identity_provider : projects/309789351055/locations/global/workloadIdentityPools/github-actions/providers/github
28+ service_account :
[email protected] 29+ - name : Set up Google Cloud SDK
30+ uses : google-github-actions/setup-gcloud@77e7a554d41e2ee56fc945c52dfd3f33d12def9a
31+ # For the time being, let's have the first couple merges to main in
32+ # modules deploy a new version to *dev*. Once we review and make sure
33+ # everything's working, we can deploy a new version to *main*. Maybe in
34+ # the future we could automate this based on the result of E2E tests.
35+ - name : Deploy to dev.registry.coder.com
36+ run : gcloud builds triggers run 29818181-126d-4f8a-a937-f228b27d3d34 --branch dev
You can’t perform that action at this time.
0 commit comments