From eda65553a77f2d171d3c87b016ca1cbb39a4b543 Mon Sep 17 00:00:00 2001 From: Utkarsh Gupta Date: Sat, 16 Dec 2017 15:48:46 +0530 Subject: [PATCH] Fix travis script --- scripts/deploy.sh | 2 +- scripts/stage.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/deploy.sh b/scripts/deploy.sh index e0c42535..c99982ed 100644 --- a/scripts/deploy.sh +++ b/scripts/deploy.sh @@ -12,7 +12,7 @@ ZIP=$VERSION.zip openssl aes-256-cbc -K $encrypted_47cc4c169e78_key -iv $encrypted_47cc4c169e78_iv -in CloudCV.json.enc -out CloudCV.json -d aws configure set default.region us-west-2 # Authenticate against our Docker registry -eval $(aws ecr get-login) +eval $(aws ecr get-login | sed 's|https://||') # Build and push the image docker build -t cloudcv/django -f docker/production/django/Dockerfile . diff --git a/scripts/stage.sh b/scripts/stage.sh index 228d95d4..f1d8a032 100644 --- a/scripts/stage.sh +++ b/scripts/stage.sh @@ -12,7 +12,7 @@ ZIP=$VERSION.zip openssl aes-256-cbc -K $encrypted_47cc4c169e78_key -iv $encrypted_47cc4c169e78_iv -in CloudCV.json.enc -out CloudCV.json -d aws configure set default.region us-west-2 # Authenticate against our Docker registry -eval $(aws ecr get-login) +eval $(aws ecr get-login | sed 's|https://||') # Build and push the image docker build -t cloudcv/staging/django -f docker/staging/django/Dockerfile .