diff options
author | Cédric Ollivier <cedric.ollivier@orange.com> | 2021-02-12 10:12:35 +0100 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2021-02-12 10:12:35 +0100 |
commit | 8bd1849f2f1a8fb81e560ca01de5570e45d50414 (patch) | |
tree | f2309af5593a9bb7d68f23f86b2fc0a159caab7d | |
parent | 87e738779cf548695e20871e544196c288b05099 (diff) |
Fix .travis.yml
Change-Id: I0cdf80003a0d77824da843876814744acd62c277
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
-rw-r--r-- | .travis.yml | 29 |
1 files changed, 28 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index b2450885..8badaf66 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-hunter \ + --target ${DOCKER_USERNAME}/xtesting:hunter + - 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" |