From b3ad29fe1ce38cbe3a63d6f1527dcd7a489572f1 Mon Sep 17 00:00:00 2001 From: Margo Crawford Date: Fri, 10 Jun 2022 12:26:40 -0700 Subject: [PATCH] Always attempt to docker pull before codegen Signed-off-by: Margo Crawford --- hack/lib/update-codegen.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/hack/lib/update-codegen.sh b/hack/lib/update-codegen.sh index c1480011..59a0887b 100755 --- a/hack/lib/update-codegen.sh +++ b/hack/lib/update-codegen.sh @@ -20,6 +20,7 @@ if [[ -z "${CONTAINED:-}" ]]; then echo "generating code for ${kubeVersion} using ${CODEGEN_IMAGE}..." docker run --rm \ + --pull always \ --env CONTAINED=1 \ --env CODEGEN_LOG_LEVEL="$debug_level" \ --volume "${ROOT}:/work" \