From f687d9ac7569761e90eece087f0e66a3c2fa5713 Mon Sep 17 00:00:00 2001 From: David Eliahu Date: Wed, 19 May 2021 20:35:51 -0700 Subject: [PATCH] Cache enqueuer and controller-manager builder images --- dev/registry.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/dev/registry.sh b/dev/registry.sh index eda792d95c..3f8d2043e6 100755 --- a/dev/registry.sh +++ b/dev/registry.sh @@ -251,6 +251,12 @@ elif [ "$cmd" = "update" ]; then if [[ " ${images_to_build[@]} " =~ " async-gateway " ]]; then cache_builder async-gateway fi + if [[ " ${images_to_build[@]} " =~ " enqueuer " ]]; then + cache_builder enqueuer + fi + if [[ " ${images_to_build[@]} " =~ " controller-manager " ]]; then + cache_builder controller-manager + fi if command -v parallel &> /dev/null && [ -n "${NUM_BUILD_PROCS+set}" ] && [ "$NUM_BUILD_PROCS" != "1" ]; then is_registry_logged_in=$is_registry_logged_in ROOT=$ROOT registry_push_url=$registry_push_url SHELL=$(type -p /bin/bash) parallel --will-cite --halt now,fail=1 --eta --jobs $NUM_BUILD_PROCS build_and_push "{}" ::: "${images_to_build[@]}"