bump ram in alpine scripts + rename get_arch_value to arch_resolve

bumped in bitmagnet gatus and grafana
This commit is contained in:
Sam Heinz
2026-06-19 00:01:16 +10:00
parent b88f8e2ebe
commit 4e86b8487f
79 changed files with 105 additions and 105 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ msg_ok "Installed Dependencies"
msg_info "Installing Tinyauth"
mkdir -p /opt/tinyauth
RELEASE=$(curl -s https://api.github.com/repos/tinyauthapp/tinyauth/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
curl -fsSL "https://github.com/tinyauthapp/tinyauth/releases/download/v${RELEASE}/tinyauth-$(get_arch_value)" -o /opt/tinyauth/tinyauth
curl -fsSL "https://github.com/tinyauthapp/tinyauth/releases/download/v${RELEASE}/tinyauth-$(arch_resolve)" -o /opt/tinyauth/tinyauth
chmod +x /opt/tinyauth/tinyauth
PASS=$(openssl rand -base64 8 | tr -dc 'a-zA-Z0-9' | head -c 8)
USER=$(htpasswd -Bbn "tinyauth" "${PASS}")