1 Star 0 Fork 2

triarii/docker-pull-proxy

forked from tianyue/docker-pull-proxy 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
tag.sh 510 Bytes
一键复制 编辑 原始数据 按行查看 历史
冀宇航 提交于 2022-05-06 07:22 . fix: update trigger_file path in tag.sh
now=$(date +%Y%m%d-%H%M%S)
trigger_file=trigger.${now}.txt
tag_sh_file=tag.${now}.sh
curl -s https://github.jiyuhang.workers.dev/https://raw.githubusercontent.com/Ji-Yuhang/docker-pull-proxy/main/trigger.txt -o $trigger_file
echo $trigger_file
cat $trigger_file |awk '{print "docker pull "$2} '
cat $trigger_file |awk '{print "docker tag "$2 " " $1} '
cat $trigger_file |awk '{print "docker pull "$2} ' > $tag_sh_file
cat $trigger_file |awk '{print "docker tag "$2 " " $1} ' >> $tag_sh_file
sh $tag_sh_file
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/triarii/docker-pull-proxy.git
git@gitee.com:triarii/docker-pull-proxy.git
triarii
docker-pull-proxy
docker-pull-proxy
main

搜索帮助

0d507c66 1850385 C8b1a773 1850385