From c3f7651d7df0225dec681735de4363a519841221 Mon Sep 17 00:00:00 2001 From: cmoulliard Date: Wed, 4 Dec 2024 15:00:57 +0100 Subject: [PATCH] Replace @ with * for the array Signed-off-by: cmoulliard --- .../0.1/build-paketo-builder-oci-ta.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/task/build-paketo-builder-oci-ta/0.1/build-paketo-builder-oci-ta.yaml b/task/build-paketo-builder-oci-ta/0.1/build-paketo-builder-oci-ta.yaml index 836b3304dd..d4156f821f 100644 --- a/task/build-paketo-builder-oci-ta/0.1/build-paketo-builder-oci-ta.yaml +++ b/task/build-paketo-builder-oci-ta/0.1/build-paketo-builder-oci-ta.yaml @@ -202,7 +202,7 @@ spec: cd /var/workdir echo "### Build the builder image using pack" - for build_arg in "${BUILD_ARGS[*]}"; do + for build_arg in "${BUILD_ARGS[@]}"; do PACK_ARGS+=" $build_arg" done @@ -265,7 +265,7 @@ spec: -e PLATFORM="$PLATFORM" \ -e STORAGE_DRIVER="$STORAGE_DRIVER" \ -e IMAGE="$IMAGE" \ - -e BUILD_ARGS=${BUILD_ARGS[@]} \ + -e BUILD_ARGS="${BUILD_ARGS[*]}" \ -e BUILD_DIR="$BUILD_DIR" \ -v "$BUILD_DIR/volumes/workdir:/var/workdir:Z" \ -v "$BUILD_DIR/volumes/shared:/shared:Z" \