zot update

This commit is contained in:
CanbiZ
2025-06-05 10:50:42 +02:00
parent f14edcdf1d
commit f5158e5d7c
4 changed files with 62 additions and 6 deletions

View File

@@ -26,6 +26,12 @@ mkdir -p /etc/zot
curl -fsSL https://raw.githubusercontent.com/project-zot/zot/refs/heads/main/examples/config-ui.json -o /etc/zot/config.json
ZOTPASSWORD=$(openssl rand -base64 18 | tr -dc 'a-zA-Z0-9' | head -c13)
$STD htpasswd -b -B -c /etc/zot/htpasswd admin "$ZOTPASSWORD"
{
echo "Zot-Credentials"
echo "Zot User: admin"
echo "Zot Password: $ZOTPASSWORD"
} >>~/zot.creds
echo "${RELEASE}" >~/.${APP}
msg_ok "Installed Zot Registry"
msg_info "Setup Service"