From cc604b3d82791511d27b8918dc82c7771d86fbd7 Mon Sep 17 00:00:00 2001 From: Matthias Richter Date: Tue, 14 Nov 2023 14:12:56 +0100 Subject: [PATCH] Update script documentation --- .github/workflows/build.yaml | 3 ++- scripts/build_components.sh | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 21a568b..af6c465 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -29,7 +29,8 @@ jobs: - name: Install fondant run: | pip install --upgrade pip - pip install fondant[docker] + pip install fondant[docker]@git+https://github.com/ml6team/fondant + - name: Build components run: ./scripts/build_components.sh -r ghcr.io -n ml6team -t $GITHUB_SHA --label org.opencontainers.image.source="https://github.com/ml6team/fondant-usecase-RAG" diff --git a/scripts/build_components.sh b/scripts/build_components.sh index 210c4b0..d10fc0c 100755 --- a/scripts/build_components.sh +++ b/scripts/build_components.sh @@ -8,8 +8,8 @@ function usage { The tag is set in the component specifications" echo " -d, --components-dir Directory containing components to build as subdirectories. The path should be relative to the root directory (default:src/components)" - echo " -r, --registry The docker registry prefix to use (default: null for DockerHub)" - echo " -n, --namespace The DockerHub namespace for the built images (default: ml6team)" + echo " -r, --registry The container registry prefix to use e.g. ghcr(default: null (DockerHub))" + echo " -n, --namespace The registry namespace for the built images (default: ml6team)" echo " -co, --component Specific component to build. Pass the component subdirectory name(s) to build certain component(s) or 'all' to build all components in the components directory (default: all)"