Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

更新docker action, 支持更多的平台 #2217

Merged
merged 5 commits into from Aug 1, 2023
Merged

Conversation

xiwangly2
Copy link
Contributor

支持的平台如下:

platforms: linux/amd64,linux/arm64,linux/arm/v7,linux/ppc64le,linux/s390x

为了更好的在随身WiFi和奇奇怪怪的设备上折腾 Docker 版的 go-cqhttp ,我觉得这个多架构的支持很有必要(((

顺便把这个问题暴力的解决了下(硬核地在docker-entrypoint.sh使用-update-protocol参数,如果不要可以抛弃这个更改):

[2023-06-12 13:24:29] [INFO]: 当前版本:(devel)
[2023-06-12 13:24:29] [INFO]: 将使用 device.json 内的设备信息运行Bot.
[2023-06-12 13:24:29] [INFO]: Bot将在5秒后登录并开始信息处理, 按 Ctrl+C 取消.
[2023-06-12 13:24:34] [INFO]: 开始尝试登录并同步消息...
[2023-06-12 13:24:34] [INFO]: 使用协议: Android Pad 8.9.35.10440
[2023-06-12 13:24:35] [INFO]: 正在检查协议更新...
[2023-06-12 13:24:35] [INFO]: 检测到协议更新: 8.9.35.10440 -> 8.8.88.7083
[2023-06-12 13:24:35] [INFO]: 如果登录时出现版本过低错误, 可尝试使用 -update-protocol 参数启动
[2023-06-12 13:24:36] [INFO]: Protocol -> connect to server: x.x.x.x:8080
[2023-06-12 13:24:36] [WARNING]: 登录失败: 登录失败,建议升级最新版本后重试,或通过问题反馈与我们联系。 Code: 45
[2023-06-12 13:24:36] [WARNING]: 你的账号涉嫌违规被限制在非常用设备登录, 请在手机QQ登录并根据提示完成认证
[2023-06-12 13:24:36] [WARNING]: 或使用 -update-protocol 升级到最新协议后重试
[2023-06-12 13:24:36] [INFO]: 按 Enter 继续....

docker-entrypoint.sh Outdated Show resolved Hide resolved
@fumiama fumiama merged commit 09ab216 into Mrs4s:master Aug 1, 2023
10 of 11 checks passed
fumiama added a commit that referenced this pull request Aug 1, 2023
* fix: group not found report (#2312)

解决以下问题:
当群组踢人时,该人不在群内,返回“群聊不存在”的BUG

#1774 (comment)

* Update bug-report.yaml (#2234)

* 更新docker action, 支持更多的平台 (#2217)

* Update build_docker_image.yml

* Update docker-entrypoint.sh

* Update build_docker_image.yml

* ✨ update docker action, more platforms are supported

---------

Co-authored-by: xiwangly2 <1334850101@qq.om>
Co-authored-by: 源文雨 <41315874+fumiama@users.noreply.github.com>

* 🐛 修复时区不是东八区的 BUG (#2212)

设置 TZ 环境变量需要先装`tzdata`这个包才会生效

* Update bug-report.yaml (#2126)

Co-authored-by: 源文雨 <41315874+fumiama@users.noreply.github.com>

* Docker: support continuous params on CMD option (#1829)

now it supports usage like `docker run -it --rm go-cqhttp -faststart`

Co-authored-by: 源文雨 <41315874+fumiama@users.noreply.github.com>

* make lint happy

---------

Co-authored-by: PSoul <psoul1@163.com>
Co-authored-by: 简律纯 <i@jyunko.cn>
Co-authored-by: LY <1334850101@qq.com>
Co-authored-by: xiwangly2 <1334850101@qq.om>
Co-authored-by: Antonia Adams <10476982+li-xunhuan@users.noreply.github.com>
Co-authored-by: Akirami <66513481+A-kirami@users.noreply.github.com>
Co-authored-by: Nanahira <78877@qq.com>
fumiama added a commit that referenced this pull request Aug 1, 2023
* fix: group not found report (#2312)

解决以下问题:
当群组踢人时,该人不在群内,返回“群聊不存在”的BUG

#1774 (comment)

* Update bug-report.yaml (#2234)

* 更新docker action, 支持更多的平台 (#2217)

* Update build_docker_image.yml

* Update docker-entrypoint.sh

* Update build_docker_image.yml

* ✨ update docker action, more platforms are supported

---------




* 🐛 修复时区不是东八区的 BUG (#2212)

设置 TZ 环境变量需要先装`tzdata`这个包才会生效

* Update bug-report.yaml (#2126)



* Docker: support continuous params on CMD option (#1829)

now it supports usage like `docker run -it --rm go-cqhttp -faststart`



* make lint happy

---------

Co-authored-by: PSoul <psoul1@163.com>
Co-authored-by: 简律纯 <i@jyunko.cn>
Co-authored-by: LY <1334850101@qq.com>
Co-authored-by: xiwangly2 <1334850101@qq.om>
Co-authored-by: Antonia Adams <10476982+li-xunhuan@users.noreply.github.com>
Co-authored-by: Akirami <66513481+A-kirami@users.noreply.github.com>
Co-authored-by: Nanahira <78877@qq.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants