Skip to content

Commit 110b845

Browse files
committed
Fix aws command
1 parent 9e7de3e commit 110b845

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

deploy.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#!/bin/bash
22
export image_hash=$1
33
export account_id=$(aws sts get-caller-identity --query Account --output text)
4-
aws echo "Login to ECR..." \
5-
&& ecr get-login-password | docker login --username AWS --password-stdin ${account_id}.dkr.ecr.us-west-1.amazonaws.com \
4+
echo "Login to ECR..." \
5+
&& aws ecr get-login-password | docker login --username AWS --password-stdin ${account_id}.dkr.ecr.us-west-1.amazonaws.com \
66
&& echo "Take down old api version..." \
77
&& docker compose down \
88
&& echo "Bring up new api version..." \

0 commit comments

Comments
 (0)