Skip to content

Commit a6c1bc9

Browse files
authored
chore: Push images to SR and MR registries (#512)
1 parent 65723a4 commit a6c1bc9

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/image.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,14 @@ jobs:
6363
build-production:
6464
runs-on: ubuntu-24.04
6565
if: github.ref_name == github.event.repository.default_branch
66-
name: Build and push production images
66+
name: Build and push production images to ${{ matrix.registry }} registry
67+
strategy:
68+
matrix:
69+
include:
70+
- registry: single-region
71+
image: us-central1-docker.pkg.dev/sentryio/taskbroker/image
72+
- registry: multi-region
73+
image: us-docker.pkg.dev/sentryio/taskbroker-mr/image
6774
permissions:
6875
contents: read
6976
id-token: write
@@ -81,7 +88,7 @@ jobs:
8188
google_ar: true
8289
tag_nightly: false
8390
tag_latest: true
84-
google_ar_image_name: us-central1-docker.pkg.dev/sentryio/taskbroker/image
91+
google_ar_image_name: ${{ matrix.image }}
8592
google_workload_identity_provider: projects/868781662168/locations/global/workloadIdentityPools/prod-github/providers/github-oidc-pool
8693
google_service_account: [email protected]
8794

0 commit comments

Comments
 (0)