Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugfix: Fondant base image build #936

Merged
merged 1 commit into from
Apr 22, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions scripts/build_base_image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading