From 4339ee1119a030889ad138831c66764b0bec8404 Mon Sep 17 00:00:00 2001 From: Cédric Ollivier Date: Fri, 12 Feb 2021 10:10:36 +0100 Subject: Fix .travis.yml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I051e6b46c4fa01ffed888024efb113146ced5180 Signed-off-by: Cédric Ollivier --- .travis.yml | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 1a24279a..b5a6bf02 100644 --- a/.travis.yml +++ b/.travis.yml @@ -29,10 +29,37 @@ jobs: env: - REPO="${DOCKER_USERNAME}" - arch="amd64" + - amd64_dirs="docker/core" + - arm64_dirs="" + - arm_dirs="" + - script: sudo -E bash build.sh + env: + - REPO="${DOCKER_USERNAME}" + - arch="arm64" + - amd64_dirs="" + - arm64_dirs="docker/core" + - arm_dirs="" - script: sudo -E bash build.sh env: - REPO="${DOCKER_USERNAME}" - arch="arm" + - amd64_dirs="" + - arm64_dirs="" + - arm_dirs="docker/core" + - stage: publish xtesting manifests + script: > + sudo manifest-tool push from-args \ + --platforms linux/amd64,linux/arm,linux/arm64 \ + --template ${DOCKER_USERNAME}/xtesting:ARCH-jerma \ + --target ${DOCKER_USERNAME}/xtesting:jerma + - stage: build xtesting-mts images + script: sudo -E bash build.sh + env: + - REPO="${DOCKER_USERNAME}" + - arch="amd64" + - amd64_dirs="docker/mts" + - arm64_dirs="" + - arm_dirs="" - script: sudo -E bash build.sh env: - REPO="${DOCKER_USERNAME}" @@ -43,7 +70,7 @@ jobs: - script: sudo -E bash build.sh env: - REPO="${DOCKER_USERNAME}" - - arch="arm64" + - arch="arm" - amd64_dirs="" - arm64_dirs="" - arm_dirs="docker/mts" -- cgit 1.2.3-korg