#!/bin/bash

release=$1

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

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