From b0c171912a3329af1a80f105d00adb5d1266a8b4 Mon Sep 17 00:00:00 2001 From: Robbe Sneyders Date: Thu, 15 Feb 2024 23:31:51 +0100 Subject: [PATCH] Update component dir in build script --- scripts/build_components.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/build_components.sh b/scripts/build_components.sh index b23d1d1b5..11ceff0a3 100755 --- a/scripts/build_components.sh +++ b/scripts/build_components.sh @@ -20,7 +20,7 @@ function usage { # Parse the arguments while [[ "$#" -gt 0 ]]; do case $1 in - -r |--registry) registry="$2"; shift;; + -rg|--registry) registry="$2"; shift;; -n |--namespace) namespace="$2"; shift;; -d |--components-dir ) components_dir="$2"; shift;; -r |--repo) repo="$2"; shift;; @@ -40,7 +40,7 @@ fi # Set default values for optional arguments if not passed component="${components:-all}" -components_dir="${components_dir:-components}" +components_dir="${components_dir:-src/fondant/components}" namespace="${namespace:-fndnt}" repo="${repo:-ml6team/fondant}" @@ -107,7 +107,7 @@ for dir in "${components_to_build[@]}"; do echo "Freezing Fondant dependency version to ${tags[0]}" docker build --push "${args[@]}" \ --build-arg="FONDANT_VERSION=${tags[0]}" \ - --label org.opencontainers.image.source=https://github.com/${repo}/components/{BASENAME} \ + --label org.opencontainers.image.source=https://github.com/${repo}/src/fondant/components/{BASENAME} \ . docker pushrm ${full_image_name} | echo "