mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-13 22:05:21 +01:00
Remove duplicate docker push
Signed-off-by: wang yan <wangyan@vmware.com>
This commit is contained in:
parent
a64a2cc56b
commit
8558722969
@ -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