mirror of
https://github.com/goharbor/harbor.git
synced 2024-06-25 22:35:11 +02:00
Remove duplicate docker push
Signed-off-by: wang yan <wangyan@vmware.com>
This commit is contained in:
parent
f4aa8d062b
commit
49ad641d4f
|
@ -123,7 +123,6 @@ function publishImage {
|
|||
# for release-*, will use 'release-*-dev' as the tag name, like release-v1.8.0-dev
|
||||
if [[ $DRONE_BRANCH == "master" ]]; then
|
||||
image_tag=dev
|
||||
docker images | sed -n "s|\(goharbor/[-._a-z0-9]*\)\s*\(.*$Harbor_Assets_Version\).*|docker tag \1:\2 \1:$image_tag;docker push \1:$image_tag|p" | bash
|
||||
fi
|
||||
if [[ $DRONE_BRANCH == "release-"* ]]; then
|
||||
image_tag=$Harbor_Assets_Version-dev
|
||||
|
|
Loading…
Reference in New Issue
Block a user