[compass4nfv] correct the compass branch docker tag 25/63625/1
authorwutianwei <wutianwei1@huawei.com>
Wed, 17 Oct 2018 07:33:15 +0000 (15:33 +0800)
committerwutianwei <wutianwei1@huawei.com>
Wed, 17 Oct 2018 07:35:28 +0000 (15:35 +0800)
Change-Id: Id789121634fc1a009878b61bcf4756ee4009c99d
Signed-off-by: wutianwei <wutianwei1@huawei.com>
jjb/releng/compass4nfv-docker.yaml

index 7cedba9..2eb2a20 100644 (file)
           #!/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
     publishers:
       - email:
           recipients: >
-            chigang@huawei.com
-            huangxiangyui5@huawei.com
-            xueyifei@huawei.com
+            huangxiangyu5@huawei.com
             wutianwei1@huawei.com
 
 - publisher: