Skip to content

Commit 3e358d4

Browse files
emaydeck-mozillaJR Conlin
andcommitted
chore: added missing use_oidc gcr-auth param (#761)
This value was defaulting to `false`, causing the orb to expect a service account key to be present. --------- Co-authored-by: JR Conlin <jr+git@mozilla.com>
1 parent 2995239 commit 3e358d4

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.circleci/config.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -334,11 +334,14 @@ jobs:
334334
type: string
335335
default: us-docker.pkg.dev
336336
steps:
337+
# gcr-auth parameters:
338+
# https://circleci.com/developer/orbs/orb/circleci/gcp-gcr#commands-gcr-auth
337339
- gcp-gcr/gcr-auth:
338340
gcp_cred_config_file_path: ~/gcp_cred_config.json
339341
google-project-id: GCP_PROJECT_ID
340342
registry-url: <<parameters.registry-url>>
341343
service_account_email: GCP_SERVICE_ACCOUNT_EMAIL
344+
use_oidc: true
342345
workload_identity_pool_id: GCP_WIP_ID
343346
workload_identity_pool_provider_id: GCP_WIP_PROVIDER_ID
344347
- run:
@@ -353,6 +356,8 @@ jobs:
353356
source $BASH_ENV
354357
docker tag <<parameters.image>>:<<parameters.build_tag>> $GAR_IMAGE:$GAR_TAG
355358
docker tag <<parameters.image>>:<<parameters.build_tag>> $GAR_IMAGE:latest
359+
# push-image parameters:
360+
# https://circleci.com/developer/orbs/orb/circleci/gcp-gcr#commands-push-image
356361
- gcp-gcr/push-image:
357362
image: $GAR_IMAGE
358363
google-project-id: GCP_PROJECT_ID

0 commit comments

Comments
 (0)