Skip to content

Commit

Permalink
build: switch publication to keystore (#3707)
Browse files Browse the repository at this point in the history
* build: switch to keystore for additional security

Co-authored-by: Benjamin E. Coe <bencoe@google.com>
  • Loading branch information
sofisl and bcoe authored Jan 26, 2023
1 parent 7c1bac8 commit f0606af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .kokoro/release/publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export NPM_CONFIG_PREFIX=/home/node/.npm-global
# Start the releasetool reporter
python3 -m releasetool publish-reporter-script > /tmp/publisher-script; source /tmp/publisher-script

NPM_TOKEN=$(cat "${KOKORO_GFILE_DIR}/secret_manager/repo_automation_bots_npm_publish_token")
NPM_TOKEN=$(cat $KOKORO_KEYSTORE_DIR/73713_google-cloud-node-npm-token-1)
echo "//wombat-dressing-room.appspot.com/:_authToken=${NPM_TOKEN}" > ~/.npmrc

SCRIPT=$(realpath $(dirname $0)/./publish-single.sh)
Expand Down

0 comments on commit f0606af

Please sign in to comment.