加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
deploy_docker_cn.sh 904 Bytes
一键复制 编辑 原始数据 按行查看 历史
bjdgyc 提交于 2024-07-04 17:07 . 添加 阿里云 镜像地址
#!/bin/bash
ver=$(cat version)
echo $ver
echo "docker tag latest $ver"
docker pull --platform=linux/amd64 bjdgyc/anylink:$ver
docker tag bjdgyc/anylink:$ver registry.cn-hangzhou.aliyuncs.com/bjdgyc/anylink:latest
docker push registry.cn-hangzhou.aliyuncs.com/bjdgyc/anylink:latest
docker tag bjdgyc/anylink:$ver registry.cn-hangzhou.aliyuncs.com/bjdgyc/anylink:$ver
docker push registry.cn-hangzhou.aliyuncs.com/bjdgyc/anylink:$ver
docker rmi bjdgyc/anylink:$ver
#arm64
docker pull --platform=linux/arm64 bjdgyc/anylink:$ver
docker tag bjdgyc/anylink:$ver registry.cn-hangzhou.aliyuncs.com/bjdgyc/anylink:arm64v8-latest
docker push registry.cn-hangzhou.aliyuncs.com/bjdgyc/anylink:arm64v8-latest
docker tag bjdgyc/anylink:$ver registry.cn-hangzhou.aliyuncs.com/bjdgyc/anylink:arm64v8-$ver
docker push registry.cn-hangzhou.aliyuncs.com/bjdgyc/anylink:arm64v8-$ver
docker rmi bjdgyc/anylink:$ver
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化