diff --git a/scripts/build.sh b/scripts/build.sh index 5eb74c5..78c7fca 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -4,6 +4,9 @@ scriptPath_file=$(dirname "${BASH_SOURCE[0]}") scriptPath_folder=$(realpath "${scriptPath_file}") utils_path="${scriptPath_folder}/utils" +# Get args without path +EXTRA_ARGS="${@:2}" + # Call prepare printf "# PREPARE\n" source ${utils_path}/prepare.sh diff --git a/scripts/utils/build-multiarch.sh b/scripts/utils/build-multiarch.sh index f1ffb5f..37d4c05 100755 --- a/scripts/utils/build-multiarch.sh +++ b/scripts/utils/build-multiarch.sh @@ -1,7 +1,6 @@ #!/bin/bash TAG=${TAG:-"${TAG_PREFIX}${NAME}"} PLATFORM=${PLATFORM:-"linux/amd64,linux/arm64/v8,linux/arm/v7"} -EXTRA_ARGS=${EXTRA_ARGS:-"$@"} docker buildx build \ --platform $PLATFORM \ diff --git a/scripts/utils/build-ownarch.sh b/scripts/utils/build-ownarch.sh index 23b0923..6b5b64c 100755 --- a/scripts/utils/build-ownarch.sh +++ b/scripts/utils/build-ownarch.sh @@ -1,6 +1,5 @@ #!/bin/bash TAG=${TAG:-"${TAG_PREFIX}${NAME}"} -EXTRA_ARGS=${EXTRA_ARGS:-"$@"} docker build \ --tag $TAG:latest \