From 417764008356a13b0a4690875a13ce546a7f46e6 Mon Sep 17 00:00:00 2001 From: Cédric Ollivier Date: Thu, 12 May 2022 14:23:58 +0200 Subject: Fix multiarch builder MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Id15eeb660ea3427680ccd335ac510a18d4a0212b Signed-off-by: Cédric Ollivier --- jjb/functest/xtesting-ci-docker.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'jjb') diff --git a/jjb/functest/xtesting-ci-docker.yaml b/jjb/functest/xtesting-ci-docker.yaml index 9d827eff3..f77893541 100644 --- a/jjb/functest/xtesting-ci-docker.yaml +++ b/jjb/functest/xtesting-ci-docker.yaml @@ -18,17 +18,17 @@ sudo -E make && sudo -E make install) (cd {dir} && \ sudo docker build --pull -t {image}:amd64-{tag} . && \ - sudo docker push {image}) + sudo docker push {image}:{tag}) (cd {dir} && \ git checkout Dockerfile sed -i -e "s|{from_amd64}|{to_arm64}|g" Dockerfile sudo docker build --pull -t {image}:arm64-{tag} . && \ - sudo docker push {image}) + sudo docker push {image}:{tag}) (cd {dir} && \ git checkout Dockerfile sed -i -e "s|{from_amd64}|{to_arm}|g" Dockerfile sudo docker build --pull -t {image}:arm-{tag} . && \ - sudo docker push {image}-{tag}) + sudo docker push {image}:{tag}) sudo manifest-tool push from-args \ --platforms linux/amd64,linux/arm,linux/arm64 \ --template {image}:ARCH-{tag} \ -- cgit 1.2.3-korg