NextChat
NextChat copied to clipboard
Update docker.yml
use the docker hub user in secrets.DOCKER_USERNAME
Someone is attempting to deploy a commit to a Personal Account owned by @Yidadaa on Vercel.
@Yidadaa first needs to authorize it.
这个合入后需要自己在 github actions 环境变量页增加对应的值吗?
肯定要啊,使用了secrets.
和变量取值符了
所以增加它的意义是?
其他人 fork 后,如果想用 github action build一个 docker image 就不用改推送的目标镜像了,配置个自己的环境变量就可以啦
也许我们使用 GitHub 上下文变量更好,例如${{ github.event.repository_owner }}
、${{ github.event.actor }}
,以尽量减少使用者的额外设置。
见文档 github context