Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit c07dbf4

Browse files
author
zhenghongyi
committed
feat: update the README add use about workflow
1 parent 58bc31f commit c07dbf4

File tree

2 files changed

+29
-0
lines changed

2 files changed

+29
-0
lines changed

‎README-zh.md‎

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,20 @@
2323
`http://127.0.0.1:39000/stream?app=stream&stream=t55`
2424
![image](./static/2.IINA.gif)
2525

26+
### 通过工作流自动构建镜像
27+
当 push 标签为v* 时自动执行工作流,构建 Docker 镜像并上传到 Docker Hub
28+
29+
#### 1. 在本仓库中添加 secrets:
30+
31+
1. 在 settings -> secrets 中添加你的 Docker 账号和密码
32+
33+
```
34+
DOCKER_USERNAME 是你的 Docker 账号
35+
ACCESS_TOKEN 是你的 Docker 密码
36+
```
37+
38+
2. 推送关于 v* 的标签
39+
2640
### 参考
2741
- https://github.com/alfg/docker-nginx-rtmp/blob/master/Dockerfile
2842
- https://github.com/nginxinc/docker-nginx/blob/6f0396c1e06837672698bc97865ffcea9dc841d5/mainline/alpine-perl/Dockerfile

‎README.md‎

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,21 @@
2323
`http://127.0.0.1:39000/stream?app=stream&stream=t55`
2424
![image](./static/2.IINA.gif)
2525

26+
### Build images by workflow
27+
28+
Automatically execute workflow, build Docker image, and upload Docker Hub when push tag is v*
29+
30+
#### 1. Add secrets in this repo:
31+
32+
1. Add your Docker account and password in the settings -> secrets
33+
```
34+
DOCKER_USERNAME is your Docker account
35+
ACCESS_TOKEN is your Docker password
36+
```
37+
38+
39+
#### 2. Push tag about v*
40+
2641
### References
2742
- https://github.com/alfg/docker-nginx-rtmp/blob/master/Dockerfile
2843
- https://github.com/nginxinc/docker-nginx/blob/6f0396c1e06837672698bc97865ffcea9dc841d5/mainline/alpine-perl/Dockerfile

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /