From 9609af8262a033c8d5bcab086f168b88d3632940 Mon Sep 17 00:00:00 2001 From: Jianrong Date: Sat, 3 Sep 2022 20:46:54 +0800 Subject: [PATCH] ignore the aws ecr login output --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 0e1361437f..6ef580d7aa 100644 --- a/.travis.yml +++ b/.travis.yml @@ -95,6 +95,6 @@ jobs: script: - pip install --user awscli # install aws cli w/o sudo - export PATH=$PATH:$HOME/.local/bin # put aws in the path - - eval $(aws ecr-public get-login-password --region us-east-1 | docker login --username AWS --password-stdin $ECR_BASE_URI) #needs AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY envvars + - eval $(aws ecr-public get-login-password --region us-east-1 | docker login --username AWS --password-stdin $ECR_BASE_URI > /dev/null 2>&1) #needs AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY envvars - docker tag xdc-devnet:latest $ECR_BASE_URI/$ECR_REPO_NAME:latest # Need ECR_REPO_NAME - docker push $ECR_BASE_URI/$ECR_REPO_NAME:latest \ No newline at end of file