ChatGPT-Next-Web icon indicating copy to clipboard operation
ChatGPT-Next-Web copied to clipboard

Update docker.yml

Open belm opened this issue 1 year ago • 6 comments

use the docker hub user in secrets.DOCKER_USERNAME

belm avatar Apr 07 '23 01:04 belm

Someone is attempting to deploy a commit to a Personal Account owned by @Yidadaa on Vercel.

@Yidadaa first needs to authorize it.

vercel[bot] avatar Apr 07 '23 01:04 vercel[bot]

这个合入后需要自己在 github actions 环境变量页增加对应的值吗?

Yidadaa avatar Apr 07 '23 05:04 Yidadaa

肯定要啊,使用了secrets.和变量取值符了

harmonsir avatar Apr 07 '23 13:04 harmonsir

所以增加它的意义是?

Yidadaa avatar Apr 07 '23 16:04 Yidadaa

其他人 fork 后,如果想用 github action build一个 docker image 就不用改推送的目标镜像了,配置个自己的环境变量就可以啦

belm avatar Apr 08 '23 15:04 belm

也许我们使用 GitHub 上下文变量更好,例如${{ github.event.repository_owner }}${{ github.event.actor }},以尽量减少使用者的额外设置。

见文档 github context

yorunning avatar Apr 10 '23 00:04 yorunning