Skip to content

Commit 5fb5bed

Browse files
authored
feat(profiling): publish images to both single-region and multi-region registries (#649)
* feat(profiling): publish images to both single-region and multi-region registries see: https://linear.app/getsentry/issue/PRO-32/push-profiling-images-to-mr-and-sr-registries#comment-fd608fc1
1 parent f274fc0 commit 5fb5bed

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

.github/workflows/image.yaml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ jobs:
151151
steps:
152152
- uses: actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493 # v4.2.2
153153

154-
- name: Build and push image
154+
- name: Build and push image to single-region registry
155155
uses: getsentry/action-build-and-push-images@b172ab61a5f7eabd58bd42ce231b517e79947c01
156156
with:
157157
image_name: 'vroom'
@@ -164,3 +164,17 @@ jobs:
164164
google_ar_image_name: us-central1-docker.pkg.dev/sentryio/vroom/vroom
165165
google_workload_identity_provider: projects/868781662168/locations/global/workloadIdentityPools/prod-github/providers/github-oidc-pool
166166
google_service_account: gha-gcr-push@sac-prod-sa.iam.gserviceaccount.com
167+
168+
- name: Build and push image to multi-region registry
169+
uses: getsentry/action-build-and-push-images@b172ab61a5f7eabd58bd42ce231b517e79947c01
170+
with:
171+
image_name: 'vroom'
172+
platforms: linux/amd64
173+
dockerfile_path: './Dockerfile'
174+
ghcr: false
175+
google_ar: true
176+
tag_nightly: false
177+
tag_latest: true
178+
google_ar_image_name: us-docker.pkg.dev/sentryio/vroom-mr/vroom
179+
google_workload_identity_provider: projects/868781662168/locations/global/workloadIdentityPools/prod-github/providers/github-oidc-pool
180+
google_service_account: gha-gcr-push@sac-prod-sa.iam.gserviceaccount.com

0 commit comments

Comments
 (0)