Token Update

Updated to support token based auth for customers and UX
This commit is contained in:
2026-01-22 10:45:40 -05:00
parent 93fd1ec7ee
commit 1064344515

View File

@@ -119,12 +119,15 @@ IMAGE="${IMAGE_BASE}/${CUDA_VERSION}/tentacle:${IMAGE_TAG}"
# ----------------------------- # -----------------------------
# Registry login # Registry login
# ----------------------------- # -----------------------------
echo REG_USER="krkn-registry"
read -rp "Registry username: " REG_USER
read -rsp "Registry password or token: " REG_PASS read -rsp "Registry access token: " REG_PASS
echo echo
echo "$REG_PASS" | docker login "$REGISTRY" -u "$REG_USER" --password-stdin echo "$REG_PASS" | docker login "$REGISTRY" -u "$REG_USER" --password-stdin || {
err "Docker login failed. Invalid token or registry unreachable."
exit 1
}
# ----------------------------- # -----------------------------
# Prompt config # Prompt config