Skip to content

Commit d75b353

Browse files
authored
Merge pull request #10 from drone-plugins/appleboy-patch-1
Provide a password using STDIN
2 parents 22b1a98 + e0afc39 commit d75b353

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ deploy_script:
4545
if ( $env:APPVEYOR_PULL_REQUEST_NUMBER ) {
4646
Write-Host Nothing to deploy.
4747
} else {
48-
docker login --username $env:DOCKER_USERNAME --password $env:DOCKER_PASSWORD
48+
echo $env:DOCKER_PASSWORD | docker login --username $env:DOCKER_USERNAME --password-stdin
4949
5050
if ( $env:APPVEYOR_REPO_TAG -eq 'true' ) {
5151
$major,$minor,$patch = $env:APPVEYOR_REPO_TAG_NAME.substring(1).split('.')

0 commit comments

Comments
 (0)