transfer_middleware/sh/build_produce.sh

14 lines
341 B
Bash

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