Merge pull request #1191 from vmware-tanzu/codegen-docker-pull-always
Always attempt to docker pull before codegen
This commit is contained in:
commit
018bdacc6d
@ -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" \
|
||||||
|
Loading…
Reference in New Issue
Block a user