Skip to content

Commit

Permalink
optional profile param.
Browse files Browse the repository at this point in the history
  • Loading branch information
Clay Danford committed Aug 7, 2020
1 parent eea00f4 commit 6730e18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/awscli.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ function getDockerLoginToECRCommand() {
'--region', this.options.region,
'--query', 'Account',
'--output', 'text',
'--profile', this.options.awsProfile,
...(this.options.awsProfile ? ['--profile', this.options.awsProfile] : []),
]);

return 'login -u AWS -p ' + passwordResult.stdout + ' ' +
Expand Down

0 comments on commit 6730e18

Please sign in to comment.