Move tag to build.sh

tool_auto-editor
Ruakij 2 years ago
parent 85a3dbfb96
commit 019a6d3f63

@ -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"

@ -1,5 +1,4 @@
#!/bin/bash
TAG=${TAG:-"${TAG_PREFIX}${NAME}"}
PLATFORM=${PLATFORM:-"linux/amd64,linux/arm64/v8,linux/arm/v7"}
docker buildx build \

@ -1,5 +1,4 @@
#!/bin/bash
TAG=${TAG:-"${TAG_PREFIX}${NAME}"}
docker build \
--tag $TAG:latest \

Loading…
Cancel
Save