Skip to content

Commit 7365682

Browse files
fix: use the correct deployment region
1 parent e668286 commit 7365682

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,5 +54,6 @@ jobs:
5454
- uses: google-github-actions/deploy-cloudrun@v1
5555
with:
5656
service: staging-plugin-registry
57+
region: europe-west1
5758
image: gcr.io/go-semantic-release/plugin-registry:${{ steps.semrel.outputs.version }}
5859
if: steps.semrel.outputs.version != ''

infrastructure/gcr/main.tf

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,3 +66,13 @@ resource "google_cloud_run_v2_service" "default" {
6666
percent = 100
6767
}
6868
}
69+
70+
// allow public access
71+
resource "google_cloud_run_service_iam_binding" "default" {
72+
location = google_cloud_run_v2_service.default.location
73+
service = google_cloud_run_v2_service.default.name
74+
role = "roles/run.invoker"
75+
members = [
76+
"allUsers"
77+
]
78+
}

0 commit comments

Comments
 (0)