lucktu / n2n

Provide the binaries(edges and supernodes) of n2n that I collected
GNU General Public License v3.0
551 stars 144 forks source link

Docker 镜像生成 功能 #26

Closed zctmdc closed 1 year ago

zctmdc commented 1 year ago

变化

使用 Github Action

第一次需要手动生成需要的版本,之后,每次 提交 会自动运行的,就不需要手动点了

要做的

请在 Settings > secrets > Actions 中添加 REGISTRY_USERNAME,REGISTRY_TOKEN

https://github.com/docker/login-action#docker-hub

https://docs.docker.com/docker-hub/access-tokens/

初次使用快速上手:

批量生成对应的版本,网页界面有提示的

image

指定版本:

image

上图中,如果不指定版本

默认使用 倒序 Linux 文件夹下面的文件 x64 第一个文件 比如 n2n_v4_xxx n2n_v3_xxx 应该会选中 n2n_v4 那个文件版本 然后识别版本并生成相应的docker镜像

说明

docker hub 说明页面可以参考: doc/docker.md

github action 可以参考: doc/build.md

较上次提交变化

lucktu commented 1 year ago

已协商