Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 46 additions & 0 deletions .github/workflows/image.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: image
on:
pull_request:
push:
branches:
- master
- releases/**

jobs:
build-production:
runs-on: ubuntu-24.04
if: github.ref_name == github.event.repository.default_branch
name: Build and push production image
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493 # v4.2.2

- name: Build and push image to single-region registry
uses: getsentry/action-build-and-push-images@b172ab61a5f7eabd58bd42ce231b517e79947c01
with:
image_name: 'reload'
platforms: linux/amd64
dockerfile_path: './Dockerfile'
ghcr: false
google_ar: true
tag_nightly: false
tag_latest: true
google_ar_image_name: us-central1-docker.pkg.dev/sentryio/reload/image
google_workload_identity_provider: projects/868781662168/locations/global/workloadIdentityPools/prod-github/providers/github-oidc-pool
google_service_account: gha-gcr-push@sac-prod-sa.iam.gserviceaccount.com

- name: Build and push image to multi-region registry
uses: getsentry/action-build-and-push-images@b172ab61a5f7eabd58bd42ce231b517e79947c01
with:
image_name: 'reload'
platforms: linux/amd64
dockerfile_path: './Dockerfile'
ghcr: false
google_ar: true
tag_nightly: false
tag_latest: true
google_ar_image_name: us-docker.pkg.dev/sentryio/reload-mr/image
google_workload_identity_provider: projects/868781662168/locations/global/workloadIdentityPools/prod-github/providers/github-oidc-pool
google_service_account: gha-gcr-push@sac-prod-sa.iam.gserviceaccount.com
Loading