Fix publish.sh ARCH error (#1860)

This commit is contained in:
Manuel Alejandro de Brito Fontes 2017-12-27 07:47:20 -03:00 committed by GitHub
parent 5c304cb032
commit 85d97df583
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 15 deletions

View file

@ -21,6 +21,11 @@ source $DIR/common.sh
echo "Login to quay.io..."
docker login --username=$QUAY_USERNAME --password=$QUAY_PASSWORD quay.io >/dev/null 2>&1
if [ $# -eq "1" ]
then
export ARCH=$1
fi
case "$COMPONENT" in
"ingress-controller")
$DIR/ingress-controller.sh