read Nexus credentials from shared Vault path
continuous-integration/drone/push Build is failing

This commit is contained in:
曾志威
2026-08-11 12:10:44 +08:00
parent 7ffcbdcdd6
commit 331896085d
+2 -5
View File
@@ -41,9 +41,6 @@ steps:
fi
- git --version
- |
sleep 30
echo "Nexus username length: ${#NEXUS_USERNAME}"
echo "Nexus password length: ${#NEXUS_PASSWORD}"
test -n "${NEXUS_USERNAME:-${NPM_USERNAME:-}}" || {
echo "Nexus username secret is missing"
exit 1
@@ -160,11 +157,11 @@ get:
kind: secret
name: nexus_username
get:
path: drone/data/nexus_username
path: drone/data/nexus
name: nexus_username
---
kind: secret
name: nexus_password
get:
path: drone/data/nexus_password
path: drone/data/nexus
name: nexus_password