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