From d19a486e9199bdc04136ffff4841a604e99ec220 Mon Sep 17 00:00:00 2001 From: lza_menace Date: Thu, 19 Oct 2023 11:28:04 -0700 Subject: [PATCH] update release script --- release.sh | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/release.sh b/release.sh index a716ca2..6c6b9f2 100755 --- a/release.sh +++ b/release.sh @@ -4,21 +4,14 @@ set -e TAG="${1}" BASE=$(echo ${TAG} | cut -d":" -f1) -FULL="${2}" if [[ -z "${TAG}" ]]; then echo "You must specify a container tag. ex: lalanza808/wownero:v0.9.2.1" exit 1 fi -if [[ -z "${FULL}" ]] -then - echo -e "[+] Building container by fetching binaries" - docker build -t "${TAG}" -f dockerfiles/wownerod_nocompile . -else - echo -e "[+] Building container by compiling binaries" - docker build -t "${TAG}" -f dockerfiles/wownerod_compile_simple . -fi +echo -e "[+] Building container by fetching binaries" +docker build -t "${TAG}" -f dockerfiles/wownerod . docker tag "${TAG}" "${BASE}:latest"