fix(env): docker
This commit is contained in:
4
build.sh
4
build.sh
@@ -87,7 +87,7 @@ docker build -f $DOCKER_FILE -t $MAIN_NAME $SHELL_FOLDER
|
||||
if [[ $? != 0 ]]; then echo -e "${RED}build docker with error${NC}"; exit 100; fi
|
||||
|
||||
echo -e "${GREEN}Tagging and pushing docker image...${NC}"
|
||||
docker tag $MAIN_NAME harbor.cowarobot.cn/gopro/$MAIN_NAME:$FLAG_PROD
|
||||
docker push harbor.cowarobot.cn/gopro/$MAIN_NAME:$FLAG_PROD
|
||||
docker tag $MAIN_NAME harbor.cowarobot.cn/softrepo/$MAIN_NAME:$FLAG_PROD
|
||||
docker push harbor.cowarobot.cn/softrepo/$MAIN_NAME:$FLAG_PROD
|
||||
|
||||
echo -e "${GREEN}Build completed successfully${NC}"
|
||||
|
||||
Reference in New Issue
Block a user