diff --git a/scripts/build_base_image.sh b/scripts/build_base_image.sh index dc8d5637..6692db63 100755 --- a/scripts/build_base_image.sh +++ b/scripts/build_base_image.sh @@ -17,20 +17,20 @@ while [[ "$#" -gt 0 ]]; do case $1 in esac; shift; done # Supported Python versions -python_versions=("3.9" "3.10" "3.11") +python_versions=("3.9" "3.10" "3.11.8") for tag in "${tags[@]}"; do for python_version in "${python_versions[@]}"; do BASENAME=fondant IMAGE_TAG=${tag}-py${python_version} full_image_names=() - # create repo if not exists aws ecr-public describe-repositories --region us-east-1 --repository-names ${BASENAME} || aws ecr-public create-repository --region us-east-1 --repository-name ${BASENAME} full_image_names+=("public.ecr.aws/fndnt/${BASENAME}:${IMAGE_TAG}") full_image_names+=("fndnt/${BASENAME}:${IMAGE_TAG}") # Add argument for each tag + args=() for image_name in "${full_image_names[@]}" ; do args+=(-t "$image_name") done