Merge pull request #1191 from vmware-tanzu/codegen-docker-pull-always

Always attempt to docker pull before codegen
This commit is contained in:
Margo Crawford 2022-06-10 13:31:47 -07:00 committed by GitHub
commit 018bdacc6d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,6 +20,7 @@ if [[ -z "${CONTAINED:-}" ]]; then
echo "generating code for ${kubeVersion} using ${CODEGEN_IMAGE}..." echo "generating code for ${kubeVersion} using ${CODEGEN_IMAGE}..."
docker run --rm \ docker run --rm \
--pull always \
--env CONTAINED=1 \ --env CONTAINED=1 \
--env CODEGEN_LOG_LEVEL="$debug_level" \ --env CODEGEN_LOG_LEVEL="$debug_level" \
--volume "${ROOT}:/work" \ --volume "${ROOT}:/work" \