From 9b14185603b1194cabb1ac200706c5fc53a561f2 Mon Sep 17 00:00:00 2001 From: Eric Maydeck Date: Wed, 4 Sep 2024 13:18:58 -0600 Subject: [PATCH 1/2] chore: added missing use_oidc gcr-auth param --- .circleci/config.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index f6a1e4550..4f5dba67b 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -429,6 +429,7 @@ jobs: 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: From 3805e699969009037d495b5e9e1c8dbccb1dce27 Mon Sep 17 00:00:00 2001 From: Eric Maydeck Date: Wed, 4 Sep 2024 13:32:52 -0600 Subject: [PATCH 2/2] chore: added comments with gcp-gcr orb doc refs --- .circleci/config.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 4f5dba67b..ba2f9f496 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -424,6 +424,8 @@ 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 @@ -444,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