triggers - Google Cloud Build - No such image: gcr.iocloud-buildersgcb-internal:latest - Stack Overflow

My application deployment pipeline utilizes GCP triggers and Cloud Build. However, the Cloud Build proc

My application deployment pipeline utilizes GCP triggers and Cloud Build. However, the Cloud Build process is currently experiencing following error.

Step #0: 
Step #0: Total reclaimed space: 69.96GB
Finished Step #0
Starting Step #1
Step #1: Pulling image: gcr.io/google/cloudsdktool/cloud-sdk
ERROR: failed to pull because we ran out of retries.
ERROR
ERROR: build step 1 "gcr.io/google/cloudsdktool/cloud-sdk" failed: error pulling build step 1 "gcr.io/google/cloudsdktool/cloud-sdk": retry budget exhausted (10 attempts): starting container: Error response from daemon: No such image: gcr.io/cloud-builders/gcb-internal:latest

Following is the section of Build script that is failing:

steps:
  - name: gcr.io/cloud-builders/docker
    args:
      - '-c'
      - |
        docker system prune -af --volumes
    entrypoint: bash
  - name: 'gcr.io/google/cloudsdktool/cloud-sdk'
    args:
      - '-c'
      - >

The pipeline has been operating smoothly until recently, when it began experiencing failures with the aforementioned error message.

Any help is highly appreciated in this regard.

My application deployment pipeline utilizes GCP triggers and Cloud Build. However, the Cloud Build process is currently experiencing following error.

Step #0: 
Step #0: Total reclaimed space: 69.96GB
Finished Step #0
Starting Step #1
Step #1: Pulling image: gcr.io/google/cloudsdktool/cloud-sdk
ERROR: failed to pull because we ran out of retries.
ERROR
ERROR: build step 1 "gcr.io/google/cloudsdktool/cloud-sdk" failed: error pulling build step 1 "gcr.io/google/cloudsdktool/cloud-sdk": retry budget exhausted (10 attempts): starting container: Error response from daemon: No such image: gcr.io/cloud-builders/gcb-internal:latest

Following is the section of Build script that is failing:

steps:
  - name: gcr.io/cloud-builders/docker
    args:
      - '-c'
      - |
        docker system prune -af --volumes
    entrypoint: bash
  - name: 'gcr.io/google/cloudsdktool/cloud-sdk'
    args:
      - '-c'
      - >

The pipeline has been operating smoothly until recently, when it began experiencing failures with the aforementioned error message.

Any help is highly appreciated in this regard.

Share Improve this question asked Mar 25 at 3:27 Farooq ZamanFarooq Zaman 5071 gold badge6 silver badges22 bronze badges 1
  • Please edit the question by sharing detailed steps along with the documentation that anyone can use to replicate the behavior? Also make sure the image name in your cloudbuild.yaml file is correct. Check whether you are able to access the image gcr.io/google/cloudsdktool/cloud-sdk directly from a machine. – Sandeep Vokkareni Commented Mar 25 at 9:03
Add a comment  | 

1 Answer 1

Reset to default 1

It's because of the pruning.

It wasn't an issue in the past, now it is.

Had this issue for a week, maybe it appeared even earlier. Something on Google Cloud's side suddenly broke and you can no longer pull some public images like "bash" or "gcr.io/cloud-builders/gcloud".

For now, you'll have to remove the pruning step.

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744218791a4563680.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信