Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: github worflow新增push PKU repository (#708)
改动: 1. 在现有的workflow下,在Test, Build and Publish Projects内的build images job里新增使用账号密码docker login 到PKU_CR:`mirrors.eecser.com`,此账号密码保存在github secrets内,key分别为`PKUREGISTRY_USERNAME`和`PKUREGISTRY_PASSWORD`。 2. 将build好的image上传至`mirrors.eecser.com/pkuhpc-icode/xxx: {tag}`下 3. 通过`mirror.pku.edu.cn/pkuhpc-icode/xxx: {tag}`可以拉到最新push到`mirrors.eecser.com/pkuhpc-icode/xxx: {tag}`的镜像 自测: 已在58集群拉取到该image ![image](https://github.com/PKUHPC/SCOW/assets/130351655/859c9764-4f09-4673-9a7d-c81056b9e903) 关于push的速度问题: 经测试偶尔时间达到将近十多分钟,可以考虑后续只对release或者合master的image 推到该仓库,其他pr的image继续使用github的仓库即可。
- Loading branch information