Skip to content

Commit

Permalink
Merge pull request #14 from claydanford/bugfix/remove-profile-param
Browse files Browse the repository at this point in the history
optional profile param.
  • Loading branch information
justinram11 authored Aug 10, 2020
2 parents eea00f4 + 6730e18 commit 7ecdbf6
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 7ecdbf6

Please sign in to comment.