Alex Zuzin
Alex Zuzin

Reputation: 101

Google Cloud Build not caching custom build steps?

Is it possible to have Google Cloud Build cache custom build step images? It appears to re-download them every build regardless of latest vs specific tags used in the name, which makes things slower as opposed to faster.

Upvotes: 10

Views: 754

Answers (1)

codrienne
codrienne

Reputation: 86

This is not possible today. There are official Cloud Build buildsteps that are cached, but all custom build steps will be pulled. You can minimize the pull latency by using one of the official buildsteps as a base image of your custom build step.

Upvotes: 2

Related Questions