From 6695c3c5dadbd3ec6ce8b20b4e5bcbbf72233354 Mon Sep 17 00:00:00 2001 From: Luchesar ILIEV Date: Fri, 14 Feb 2025 15:11:46 +0200 Subject: [PATCH] container build: use the expected env variable name --- build-container/entrypoint.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build-container/entrypoint.sh b/build-container/entrypoint.sh index c8c1df0..b2575de 100755 --- a/build-container/entrypoint.sh +++ b/build-container/entrypoint.sh @@ -14,10 +14,10 @@ set -x FAILOVER_REPO_DIR="" FAILOVER_BASE_URL="" -if [ ! -z "${RELEASE_TYPE}" ]; then +if [ ! -z "${RELEASE_NAME}" ]; then FAILOVER_REPO_DIR="$(mktemp -d)" cd "${FAILOVER_REPO_DIR}" - FAILOVER_BASE_URL="https://github.com/archzfs/archzfs/releases/download/${RELEASE_TYPE}" + FAILOVER_BASE_URL="https://github.com/archzfs/archzfs/releases/download/${RELEASE_NAME}" curl -sL "${FAILOVER_BASE_URL}/archzfs.db.tar.xz" | tar xvJ fi