Skip to content

Commit

Permalink
DBZ-7785 Skip not yet available images
Browse files Browse the repository at this point in the history
  • Loading branch information
jpechane committed May 9, 2024
1 parent 9aeb4fd commit abfc0c5
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions build-debezium-multiplatform.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,15 @@ build_docker_image () {

IMAGE_PATH="${IMAGE_PATH}/${IMAGE_TAG}"

if ! [ -f "$IMAGE_PATH" ]; then
echo ""
echo "****************************************************************"
echo "** Directory ${IMAGE_PATH} does not exist, skipping"
echo "****************************************************************"
echo ""
return
fi

PLATFORM_VAR=$(echo "$IMAGE_NAME" | tr '[:lower:]' '[:upper:]' | tr - _)_PLATFORM
PLATFORM=${!PLATFORM_VAR}
if [ -z "${PLATFORM}" ]; then
Expand Down

0 comments on commit abfc0c5

Please sign in to comment.