#!/bin/bash IMAGE="transfer_yl" RPC_CONTAINER="transfer_yl" RPC_PORT="10102" V_REFLECT="" TAGS_NAME="v1.4" ADDRESS="registry.cn-chengdu.aliyuncs.com/go_ls/transfer_yl" docker build -t "${IMAGE}:${TAGS_NAME}" . --no-cache docker tag "${IMAGE}:${TAGS_NAME}" ${ADDRESS}:${TAGS_NAME} docker push ${ADDRESS}:${TAGS_NAME}