8888 google_workload_identity_provider : projects/868781662168/locations/global/workloadIdentityPools/prod-github/providers/github-oidc-pool
8989 google_service_account : gha-gcr-push@sac-prod-sa.iam.gserviceaccount.com
9090
91- - name : Build and push taskworker image
92- uses : getsentry/action-build-and-push-images@a53f146fc1ea3cb404f2dcf7378f5b60dd98d3ca
93- with :
94- image_name : ' taskworker'
95- platforms : linux/amd64
96- dockerfile_path : ' ./python/Dockerfile'
97- build_context : ' ./python'
98- ghcr : false
99- google_ar : true
100- tag_nightly : false
101- tag_latest : true
102- # TODO: remove this once we cut over GoCD to using gha for prod images
103- tag_suffix : -gha
104- google_ar_image_name : us-central1-docker.pkg.dev/sentryio/taskworker/image
105- google_workload_identity_provider : projects/868781662168/locations/global/workloadIdentityPools/prod-github/providers/github-oidc-pool
106- google_service_account : gha-gcr-push@sac-prod-sa.iam.gserviceaccount.com
107-
10891 self-hosted-end-to-end :
10992 needs : [assemble-taskbroker-image]
11093 runs-on : ubuntu-latest
@@ -117,28 +100,3 @@ jobs:
117100 project_name : taskbroker
118101 image_url : ghcr.io/getsentry/taskbroker:${{ github.sha }}
119102 CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
120-
121- build-taskworker :
122- runs-on : ubuntu-latest
123- permissions :
124- contents : read
125- packages : write
126- steps :
127- - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
128-
129- - run : docker login --username '${{ github.actor }}' --password-stdin ghcr.io <<< "$GHCR_TOKEN"
130- env :
131- GHCR_TOKEN : ${{ secrets.GITHUB_TOKEN }}
132- if : github.event_name != 'pull_request'
133-
134- - name : Build and push taskworker image
135- uses : getsentry/action-build-and-push-images@a53f146fc1ea3cb404f2dcf7378f5b60dd98d3ca
136- with :
137- image_name : ' taskworker'
138- platforms : linux/amd64
139- build_context : ' ./python'
140- dockerfile_path : ' ./python/Dockerfile'
141- ghcr : true
142- tag_nightly : false
143- tags : ghcr.io/getsentry/taskworker:amd64-latest
144- tag_latest : true
0 commit comments