无法读取“ https://source.developers.google.com”的用户名

时间:2019-09-05 17:20:05

标签: python google-cloud-build google-container-registry google-source-repositories

我试图在gcr.io容器中安装私有python库,即使在yaml文件中为gcloud和--network = cloudbuild设置了configure-docker之后,仍然收到错误消息。

运行pip install -e git + https://source.developers.google.com/p/project_name/r/github_domain_repository_name#egg=package_path

steps:
- name: 'gcr.io/cloud-builders/gcloud'
  args: ['auth', 'configure-docker']
- name: 'gcr.io/cloud-builders/docker'
  args: ['build', '--network=cloudbuild', '-t', 'gcr.io/project-${_ENVIRONMENT}/cloud_run-pubsub_example', './cloud-run/file_upserter/']

0 个答案:

没有答案