【新增】New docker image for Linux and actions for auto push #52
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
需要修改
如题,添加了Linux下的Dockerfile
并且在Push和Pull的时候会自动在github上build docker镜像,再用你的账号推送到docker.io
因此在激活actions之前需要先设置下你docker账号的凭据
(Github 项目主页> Settings > Secrets and variables > Actions)
添加
DOCKERHUB_USERNAME
和DOCKERHUB_TOKEN
两个新secret用于推送docker镜像如果暂时不想用,也可以先把actions禁用
完成之后将
Chenyme-AAVT\.github\workflows\docker-image.yml
中的tag,改为你自己的相应的,也修改下
Chenyme-AAVT\docker-compose.yaml
中的tag最后Linux下如果要输出中文硬字幕,需要先设置下中文字体,否则会输出框框
生成的文件都在output目录下