Fix publish ARCH error [ci skip]

This commit is contained in:
Manuel de Brito Fontes 2017-12-27 12:28:11 -03:00
parent 004a153ea5
commit 005add68c7
No known key found for this signature in database
GPG key ID: 786136016A8BA02A

View file

@ -16,16 +16,16 @@
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
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" ] if [ $# -eq "1" ]
then then
export ARCH=$1 export ARCH=$1
fi fi
source $DIR/common.sh
echo "Login to quay.io..."
docker login --username=$QUAY_USERNAME --password=$QUAY_PASSWORD quay.io >/dev/null 2>&1
case "$COMPONENT" in case "$COMPONENT" in
"ingress-controller") "ingress-controller")
$DIR/ingress-controller.sh $DIR/ingress-controller.sh