diff options
author | wutianwei <wutianwei1@huawei.com> | 2018-10-17 15:33:15 +0800 |
---|---|---|
committer | wutianwei <wutianwei1@huawei.com> | 2018-10-17 15:35:28 +0800 |
commit | 292279d3fffdcc462cc15352bdfef8ac397edf8b (patch) | |
tree | 5b58981207b7626faf46ea1cd82748e656454379 /jjb | |
parent | 3f9fb3f3ad1bb8b56eaec535f11a523d3bfac4a2 (diff) |
[compass4nfv] correct the compass branch docker tag
Change-Id: Id789121634fc1a009878b61bcf4756ee4009c99d
Signed-off-by: wutianwei <wutianwei1@huawei.com>
Diffstat (limited to 'jjb')
-rw-r--r-- | jjb/releng/compass4nfv-docker.yaml | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/jjb/releng/compass4nfv-docker.yaml b/jjb/releng/compass4nfv-docker.yaml index 7cedba916..2eb2a207c 100644 --- a/jjb/releng/compass4nfv-docker.yaml +++ b/jjb/releng/compass4nfv-docker.yaml @@ -198,14 +198,16 @@ #!/bin/bash -ex case "{stream}" in "master") - tag="latest" ;; + sudo manifest-tool push from-args \ + --platforms linux/amd64,linux/arm64 \ + --template opnfv/compass-{image}:ARCH-latest \ + --target opnfv/compass-{image}:latest ;; *) - tag="{stream}" ;; + sudo manifest-tool push from-args \ + --platforms linux/amd64,linux/arm64 \ + --template opnfv/compass-{image}:ARCH-stable \ + --target opnfv/compass-{image}:{stream} ;; esac - sudo manifest-tool push from-args \ - --platforms linux/amd64,linux/arm64 \ - --template opnfv/compass-{image}:ARCH-$tag \ - --target opnfv/compass-{image}:$tag exit $? # parameter macro @@ -256,9 +258,7 @@ publishers: - email: recipients: > - chigang@huawei.com - huangxiangyui5@huawei.com - xueyifei@huawei.com + huangxiangyu5@huawei.com wutianwei1@huawei.com - publisher: |