diff --git a/bin/build_docker.sh b/bin/build_docker.sh index abe7a3d7..041fa47b 100755 --- a/bin/build_docker.sh +++ b/bin/build_docker.sh @@ -18,7 +18,7 @@ which docker > /dev/null || exit 1 which jq > /dev/null || exit 1 # which pdm > /dev/null || exit 1 -declare -a TAG_NAMES="$*" +declare -a TAG_NAMES=("$@") BRANCH_NAME="${1:-$(git rev-parse --abbrev-ref HEAD)}" VERSION="$(grep '^version = ' "${REPO_DIR}/pyproject.toml" | awk -F'"' '{print $2}')" GIT_SHA=sha-"$(git rev-parse --short HEAD)" diff --git a/bin/release_docker.sh b/bin/release_docker.sh index 98758c9e..2a810e2e 100755 --- a/bin/release_docker.sh +++ b/bin/release_docker.sh @@ -13,7 +13,7 @@ IFS=$' ' REPO_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && cd .. && pwd )" cd "$REPO_DIR" -declare -a TAG_NAMES="$*" +declare -a TAG_NAMES=("$@") BRANCH_NAME="${1:-$(git rev-parse --abbrev-ref HEAD)}" VERSION="$(grep '^version = ' "${REPO_DIR}/pyproject.toml" | awk -F'"' '{print $2}')" GIT_SHA=sha-"$(git rev-parse --short HEAD)"