云构建错误-python3 的拉取访问被拒绝

问题描述

我使用 GCP 云构建在 Github 存储库上设置了触发器。 部署时出现错误 Error response from daemon: pull access denied for python3,repository does not exist or may require 'docker login': denied: requested access to the resource is denied

以下是我的 cloudbuild.yaml

steps:
  - name: 'python:3.8'
    entrypoint: python3
    args: [ './manage.py','migrate' ]

  - name: 'python:3.8'
    entrypoint: python3
    args: [ './manage.py','collectstatic','--no input' ]

  - name: 'gcr.io/cloud-builders/gsutil'
    entrypoint: 'bash'
    args: [ '-c','gsutil rsync -R static/ gs://xyz/static' ]

  - name: 'gcr.io/google.com/cloudsdktool/cloud-sdk'
    entrypoint: 'bash'
    args: [ '-c','gcloud config set project project1 && gcloud app deploy' ]

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)