diff --git a/scripts/build.sh b/scripts/build.sh index 545928c..10ff367 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -7,12 +7,15 @@ utils_path="${scriptPath_folder}/utils" WORKDIR=${1:-$PWD} WORKDIR=$(realpath "$WORKDIR") +# -- VARIABLES -- # Store original path ORIGINALDIR=$PWD # Get args without path EXTRA_ARGS="${@:2}" +TAG=${TAG:-"${TAG_PREFIX}${NAME}"} + # Call prepare printf "# PREPARE\n" diff --git a/scripts/utils/build-multiarch.sh b/scripts/utils/build-multiarch.sh index 15444b7..56794c4 100755 --- a/scripts/utils/build-multiarch.sh +++ b/scripts/utils/build-multiarch.sh @@ -1,5 +1,4 @@ #!/bin/bash -TAG=${TAG:-"${TAG_PREFIX}${NAME}"} PLATFORM=${PLATFORM:-"linux/amd64,linux/arm64/v8,linux/arm/v7"} docker buildx build \ diff --git a/scripts/utils/build-ownarch.sh b/scripts/utils/build-ownarch.sh index 95b25a7..1f43303 100755 --- a/scripts/utils/build-ownarch.sh +++ b/scripts/utils/build-ownarch.sh @@ -1,5 +1,4 @@ #!/bin/bash -TAG=${TAG:-"${TAG_PREFIX}${NAME}"} docker build \ --tag $TAG:latest \