From 94a8a9bc9fcc6215e4eaa72f62caf930827b938d Mon Sep 17 00:00:00 2001 From: Jakub Gawron Date: Mon, 27 Jul 2020 12:27:22 +0100 Subject: [PATCH] Run the docker login command --- app/Helpers/Aws/Ecs.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/Helpers/Aws/Ecs.php b/app/Helpers/Aws/Ecs.php index d09aba5..069e9be 100644 --- a/app/Helpers/Aws/Ecs.php +++ b/app/Helpers/Aws/Ecs.php @@ -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;