加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
auto-build.sh 664 Bytes
一键复制 编辑 原始数据 按行查看 历史
Sam 提交于 2023-05-24 22:39 . 优化dockerfile和脚本
#!/bin/bash
echo start
tag="2.0.2"
echo $tag
docker build -t registry.cn-hangzhou.aliyuncs.com/iotgateway/iotgateway:$tag .
docker push registry.cn-hangzhou.aliyuncs.com/iotgateway/iotgateway:$tag
docker tag registry.cn-hangzhou.aliyuncs.com/iotgateway/iotgateway:$tag registry.cn-hangzhou.aliyuncs.com/iotgateway/iotgateway:latest
docker push registry.cn-hangzhou.aliyuncs.com/iotgateway/iotgateway:latest
docker tag registry.cn-hangzhou.aliyuncs.com/iotgateway/iotgateway:latest 15261671110/iotgateway:$tag
docker push 15261671110/iotgateway:$tag
docker tag 15261671110/iotgateway:$tag 15261671110/iotgateway:latest
docker push 15261671110/iotgateway:latest
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化