Fix publish.sh ARCH error (#1860)
This commit is contained in:
parent
5c304cb032
commit
85d97df583
2 changed files with 10 additions and 15 deletions
20
.travis.yml
20
.travis.yml
|
@ -55,31 +55,21 @@ jobs:
|
|||
# split builds to avoid job timeouts
|
||||
- stage: publish amd64
|
||||
if: type = api AND branch = master AND repo = kubernetes/ingress-nginx
|
||||
env:
|
||||
- ARCH=amd64
|
||||
script:
|
||||
- travis_wait ${TRAVIS_TIMEOUT} .travis/publish.sh
|
||||
- travis_wait ${TRAVIS_TIMEOUT} .travis/publish.sh amd64
|
||||
- stage: publish arm
|
||||
if: type = api AND branch = master AND repo = kubernetes/ingress-nginx
|
||||
env:
|
||||
- ARCH=arm
|
||||
script:
|
||||
- travis_wait ${TRAVIS_TIMEOUT} .travis/publish.sh
|
||||
- travis_wait ${TRAVIS_TIMEOUT} .travis/publish.sh arm
|
||||
- stage: publish arm64
|
||||
if: type = api AND branch = master AND repo = kubernetes/ingress-nginx
|
||||
env:
|
||||
- ARCH=arm64
|
||||
script:
|
||||
- travis_wait ${TRAVIS_TIMEOUT} .travis/publish.sh
|
||||
- travis_wait ${TRAVIS_TIMEOUT} .travis/publish.sh arm64
|
||||
- stage: publish ppc64le
|
||||
if: type = api AND branch = master AND repo = kubernetes/ingress-nginx
|
||||
env:
|
||||
- ARCH=ppc64le
|
||||
script:
|
||||
- travis_wait ${TRAVIS_TIMEOUT} .travis/publish.sh
|
||||
- travis_wait ${TRAVIS_TIMEOUT} .travis/publish.sh ppc64le
|
||||
- stage: publish s390x
|
||||
if: type = api AND branch = master AND repo = kubernetes/ingress-nginx
|
||||
env:
|
||||
- ARCH=s390x
|
||||
script:
|
||||
- travis_wait ${TRAVIS_TIMEOUT} .travis/publish.sh
|
||||
- travis_wait ${TRAVIS_TIMEOUT} .travis/publish.sh s390x
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue