Service account does not have storage.buckets.lists access to project while pushing images to GCR via Gitlab CI
问题 I am using Gitlab CI to build docker images and to push them to GCR. My Script goes like this - build: image: google/cloud-sdk services: - docker:dind stage: build cache: script: - echo "$GCP_SERVICE_KEY" > gcloud-service-key.json # Google Cloud service accounts - gcloud auth activate-service-account --key-file gcloud-service-key.json - gcloud auth configure-docker --quiet - gcloud config set project $GCP_PROJECT_ID - echo ${IMAGE_NAME}:${IMAGE_TAG} - PYTHONUNBUFFERED=1 gcloud builds submit