mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-22 10:15:35 +01:00
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:
parent
141a81ac47
commit
69825093b0
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user