Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 428
Alex Zuzin Avatar asked Nov 06 '22 23:11

Alex Zuzin


1 Answers

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.

like image 174
codrienne Avatar answered Nov 15 '22 09:11

codrienne