build: Build and push multi architecture images to dockerhub

As quay.io doesnot support the multi architecture
images, We need to switch to dockerhub as it supports
multi-architecture images.

closes: #1003

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
Madhu Rajanna
2020-07-16 11:33:06 +05:30
committed by mergify[bot]
parent 5208c0fc38
commit b949d5f9c7
2 changed files with 9 additions and 2 deletions

View File

@ -77,7 +77,9 @@ build_push_images() {
build_step "make push-image-cephcsi for ${ARCH}"
GOARCH=${ARCH} BASE_IMAGE=${base_image} make push-image-cephcsi
build_step_log "done: make push-image-cephcsi for ${ARCH} (ret=${?})"
GOARCH=${ARCH} make create-manifest
done
make push-manifest
}
if [ "${TRAVIS_BRANCH}" == 'master' ]; then