Skip to content

Commit

Permalink
Update the build_droid.sh (#5353)
Browse files Browse the repository at this point in the history
  • Loading branch information
troydai authored Jan 19, 2018
1 parent b319592 commit 6d3dba1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/ci/build_droid.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@ cp $dp0/a01/Dockerfile.py36 artifacts/
title 'Determine docker image name'
image_owner=${TRAVIS_REPO_SLUG%/azure-cli}
image_owner=${image_owner:="private-${USER}"}
image_owner=${image_owner,,}
image_owner=`echo $image_owner | tr '[:upper:]' '[:lower:]'`
version=`cat artifacts/version`
image_name=azureclidev.azurecr.io/azurecli-test-$image_owner:python3.6-$version
echo 'Image name: $image_name'

title 'Login docker registry'
if [ -n $AZURECLIDEV_ACR_SP_USERNAME ] && [ -n $AZURECLIDEV_ACR_SP_PASSWORD ]; then
if [ $AZURECLIDEV_ACR_SP_USERNAME ] && [ $AZURECLIDEV_ACR_SP_PASSWORD ]; then
docker login azureclidev.azurecr.io -u $AZURECLIDEV_ACR_SP_USERNAME -p $AZURECLIDEV_ACR_SP_PASSWORD
fi

Expand Down

0 comments on commit 6d3dba1

Please sign in to comment.