transfer_middleware/sh/build_produce.sh

14 lines
341 B
Bash
Raw Normal View History

2024-07-16 16:57:26 +08:00
#!/bin/bash
IMAGE="transfer_middleware"
RPC_CONTAINER="transfer_middleware"
RPC_PORT="10001"
V_REFLECT=""
TAGS_NAME="v1"
2024-07-16 18:26:51 +08:00
ADDRESS="registry.cn-chengdu.aliyuncs.com/go_ls/transfer_middleware"
2024-07-16 16:57:26 +08:00
docker build -t "${IMAGE}:${TAGS_NAME}" . --no-cache
docker tag "${IMAGE}:${TAGS_NAME}" ${ADDRESS}:${TAGS_NAME}
docker push ${ADDRESS}:${TAGS_NAME}