diff options
author | Cédric Ollivier <cedric.ollivier@orange.com> | 2022-05-12 14:23:58 +0200 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2022-05-12 14:23:58 +0200 |
commit | 417764008356a13b0a4690875a13ce546a7f46e6 (patch) | |
tree | 332e32c66356c18732e82ca85301bd16d9dcb3b9 /jjb | |
parent | d8a552bb607a175dfccfca72173a17cd06e77165 (diff) |
Fix multiarch builder
Change-Id: Id15eeb660ea3427680ccd335ac510a18d4a0212b
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'jjb')
-rw-r--r-- | jjb/functest/xtesting-ci-docker.yaml | 6 |
1 files changed, 3 insertions, 3 deletions
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} \ |