Skip to content

Commit

Permalink
Merge pull request #1 from netsells/bug/ecr-auth-fix
Browse files Browse the repository at this point in the history
Run the docker login command
  • Loading branch information
Jakub Gawron authored Jul 27, 2020
2 parents a9a818d + 94a8a9b commit 39e3a07
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/Helpers/Aws/Ecs.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ public function authenticateDocker(Command $command): bool
"--password={$password}",
"{$awsAccountId}.dkr.ecr.{$awsRegion}.amazonaws.com"
])
->echoLineByLineOutput(false);
->echoLineByLineOutput(false)
->run();
} catch (ProcessFailed $e) {
$command->error("Unable to login to docker.");
return false;
Expand Down

0 comments on commit 39e3a07

Please sign in to comment.