fix: use bw get notes for registry token (secure note, not login)

This commit is contained in:
2026-03-15 23:00:46 -04:00
parent 9337045114
commit bef793aab7
+1 -1
View File
@@ -61,7 +61,7 @@ git-crypt unlock /tmp/git-crypt-key
rm /tmp/git-crypt-key
echo "==> Fetching secrets from Bitwarden..."
REGISTRY_TOKEN=$("$BW_CLI" get password hantim-ci-registry-push --session "$BW_SESSION")
REGISTRY_TOKEN=$("$BW_CLI" get notes hantim-ci-registry-push --session "$BW_SESSION")
DEPLOY_PUBKEY=$("$BW_CLI" get item hantim-server-deploy --session "$BW_SESSION" | jq -r '.sshKey.publicKey')
"$BW_CLI" lock