From 9a08c980c8c05c7a80d1ba51e6ce150fa78c9f5d Mon Sep 17 00:00:00 2001 From: OpenShift Cherrypick Robot Date: Fri, 21 Oct 2022 08:14:14 -0700 Subject: [PATCH] Add must-gather to travis (#834) Co-authored-by: Tiger Kaovilai --- .travis.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.travis.yml b/.travis.yml index 23da90b8fb..7e3ebe9034 100644 --- a/.travis.yml +++ b/.travis.yml @@ -31,8 +31,10 @@ before_script: script: - docker build -t ${IMAGE}:${TAG}-${TRAVIS_ARCH} -f ${DOCKERFILE} . +- docker build -t quay.io/konveyor/oadp-must-gather:${TAG}-${TRAVIS_ARCH} -f must-gather/Dockerfile must-gather/ - if [ -n "${QUAY_ROBOT}" ]; then docker login quay.io -u "${QUAY_ROBOT}" -p ${QUAY_TOKEN}; fi - if [ -n "${QUAY_ROBOT}" ]; then docker push ${IMAGE}:${TAG}-${TRAVIS_ARCH}; fi +- if [ -n "${QUAY_ROBOT}" ]; then docker push quay.io/konveyor/oadp-must-gather:${TAG}-${TRAVIS_ARCH}; fi jobs: include: @@ -57,5 +59,12 @@ jobs: ${IMAGE}:${TAG}-ppc64le \ ${IMAGE}:${TAG}-s390x \ ${IMAGE}:${TAG}-aarch64 + docker manifest create \ + quay.io/konveyor/oadp-must-gather:${TAG} \ + quay.io/konveyor/oadp-must-gather:${TAG}-amd64 \ + quay.io/konveyor/oadp-must-gather:${TAG}-ppc64le \ + quay.io/konveyor/oadp-must-gather:${TAG}-s390x \ + quay.io/konveyor/oadp-must-gather:${TAG}-aarch64 docker manifest push ${IMAGE}:${TAG} + docker manifest push quay.io/konveyor/oadp-must-gather:${TAG} fi