mirror of
https://github.com/goharbor/harbor
synced 2024-09-20 14:25:43 +00:00
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
6f118031b1
commit
6ec5ea043f
|
@ -199,6 +199,9 @@ if [ $upload_build == true ] && [ $rc -eq 0 ]; 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