[REV] rm push image after build image

This commit is contained in:
ysicing 2017-11-29 16:20:00 +08:00
parent 2dd1e5a373
commit 0d3692914b

View File

@ -77,7 +77,7 @@ function build::image() {
docker build -t hub.goodrain.com/${BASE_NAME}/rbd-$1:${VERSION} -f Dockerfile.release .
docker tag hub.goodrain.com/${BASE_NAME}/rbd-$1:${VERSION} ${BASE_NAME}/rbd-$1:${VERSION}
docker tag hub.goodrain.com/${BASE_NAME}/rbd-$1:${VERSION} ${BASE_NAME}/rbd-$1
docker push ${BASE_NAME}/rbd-$1
#docker push ${BASE_NAME}/rbd-$1
rm -f ./Dockerfile.release
rm -f ./${BASE_NAME}-$1
}