Always attempt to docker pull before codegen

Signed-off-by: Margo Crawford <margaretc@vmware.com>
This commit is contained in:
Margo Crawford 2022-06-10 12:26:40 -07:00
parent 484c8f4bf3
commit b3ad29fe1c
1 changed files with 1 additions and 0 deletions

View File

@ -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" \