#!/bin/bash

release=$1

[ ! -n "$release" ] && exit 1

docker build -t xyxiaochengxv-registry-vpc.cn-beijing.cr.aliyuncs.com/xyxiaochengxv/qipai-manage-web:${release} .
docker push xyxiaochengxv-registry-vpc.cn-beijing.cr.aliyuncs.com/xyxiaochengxv/qipai-manage-web:${release}