Update CI script run in Drone (#6053)

Publish images to docker hub with dev tag only for master branch changes

Signed-off-by: Wenkai Yin <yinw@vmware.com>
This commit is contained in:
Wenkai Yin 2018-10-16 17:37:13 +08:00 committed by Yan
parent 141a81ac47
commit 69825093b0

View File

@ -161,6 +161,9 @@ if [ $upload_build == true ]; then
uploader $harbor_build_bundle $harbor_target_bucket
uploader harbor-offline-installer-latest.tgz $harbor_target_bucket
upload_bundle_success=true
fi
if [ $DRONE_BRANCH = "master" ] && [ $DRONE_BUILD_EVENT = "push" ]; then
publishImage
fi