Skip to content

Commit 1be63e4

Browse files
authored
chore: add docker login in release script (#1450)
1 parent 9956658 commit 1be63e4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scripts/release.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
export SCW_SECRET_KEY="$(vault kv get -field scaleway_secret_key agw_kv/prd)"
44
export SCW_ACCESS_KEY="$(vault kv get -field scaleway_access_key agw_kv/prd)"
55
export GITHUB_TOKEN="$(vault kv get -field cli_release_github_token front_kv/opensource)"
6+
vault kv get -field cli_release_dockerhub_token front_kv/opensource | docker login --password-stdin -u "$(vault kv get -field dockerhub_bot_username front_kv/opensource)"
67
cd scripts/release || (echo "Please run this script from repo root" && exit 1)
78

89
yarn install --frozen-lock-file

0 commit comments

Comments
 (0)