diff --git a/.circleci/config.yml b/.circleci/config.yml index f6a1e4550..ba2f9f496 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -424,11 +424,14 @@ jobs: type: string default: us-docker.pkg.dev steps: + # gcr-auth parameters: + # https://circleci.com/developer/orbs/orb/circleci/gcp-gcr#commands-gcr-auth - gcp-gcr/gcr-auth: gcp_cred_config_file_path: ~/gcp_cred_config.json google-project-id: GCP_PROJECT_ID registry-url: <> service_account_email: GCP_SERVICE_ACCOUNT_EMAIL + use_oidc: true workload_identity_pool_id: GCP_WIP_ID workload_identity_pool_provider_id: GCP_WIP_PROVIDER_ID - run: @@ -443,6 +446,8 @@ jobs: source $BASH_ENV docker tag <>:<> $GAR_IMAGE:$GAR_TAG docker tag <>:<> $GAR_IMAGE:latest + # push-image parameters: + # https://circleci.com/developer/orbs/orb/circleci/gcp-gcr#commands-push-image - gcp-gcr/push-image: image: $GAR_IMAGE google-project-id: GCP_PROJECT_ID