Skip to content

Commit

Permalink
fix: Provide a password using STDIN
Browse files Browse the repository at this point in the history
  • Loading branch information
appleboy committed Jun 27, 2018
1 parent 5d5127b commit 014aa2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ deploy_script:
if ( $env:APPVEYOR_PULL_REQUEST_NUMBER ) {
Write-Host Nothing to deploy.
} else {
docker login --username $env:DOCKER_USERNAME --password $env:DOCKER_PASSWORD
echo $env:DOCKER_PASSWORD | docker login --username $env:DOCKER_USERNAME --password-stdin
if ( $env:APPVEYOR_REPO_TAG -eq 'true' ) {
$major,$minor,$patch = $env:APPVEYOR_REPO_TAG_NAME.split('.')
docker push appleboy/gorush:windows-amd64
Expand Down

0 comments on commit 014aa2a

Please sign in to comment.